dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Resources] Upload Files failed because the GSS authentication failed

Open fhygh opened this issue 4 years ago • 5 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

i'm using Hadoop FileSystem, after 24+ hours i upload files failed because GSS authentication failed, Failed to find any kerberos tgt.

What you expected to happen

upload files successfully.

How to reproduce

using hdfs filesystem and enabled kerberos, after 24+hours(eg. 28 hours) and try upload files

Anything else

i've checked code and find before merge this ([Feature-8612][RESOURCE] extend s3 to the storage of ds (#8637)) it's ok, in previous version every time it using HadoopUtils.getInstance() to execute like exists/createxxx api, it'll init FileSystem object every time. While now no place init FileSystem, then after a kerberos tgt period, it'll expired and can't operate hadoop filesystem.

Version

3.0.0-beta-2

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

fhygh avatar Jul 14 '22 11:07 fhygh

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Jul 14 '22 11:07 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Aug 20 '22 00:08 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Aug 28 '22 00:08 github-actions[bot]

I met the similar issue , what's the matter? Is anyone can solve this problem? The log showed:"java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)];"

ZeonHuang avatar Jul 03 '23 09:07 ZeonHuang

I met the similar issue , what's the matter? Is anyone can solve this problem? The log showed:"java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)];"

Check whether the krb5.conf file is in the /etc/directory, The krb5 file address configured in the common.properties configuration file cannot be correctly read

fw19940314 avatar Jan 12 '24 06:01 fw19940314