[Bug] [Resources] Upload Files failed because the GSS authentication failed
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
- [X] I agree to follow this project's Code of Conduct
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
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.
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.
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)];"
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