jiaoqingbo opened a new issue #2249:
URL: https://github.com/apache/incubator-kyuubi/issues/2249


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the bug
   
   In the kerberos environment, the flink engine cannot be started, and the 
message "Delegation token is not supported" is displayed.
   
   
   
   ### Affects Version(s)
   
   1.5.0
   
   ### Kyuubi Server Log Output
   
   ```logtalk
   10:11:48.766 WARN org.apache.kyuubi.client.KyuubiSyncThriftClient: 
TRenewDelegationTokenReq(sessionHandle:TSessionHandle(sessionId:THandleIdentifier(guid:47
 F7 06 64 A5 BC 48 3D AA B0 8C 93 C0 91 3F 47, secret:E9 55 2B 1B B3 2E 44 99 
BC 27 3C 69 11 D4 26 52)), 
delegationToken:SERUUwABETEwLjE5LjI5LjE3Mjo4MDIwPQAEb2NkcARvY2RwH3NwYXJrL29jZHAxNzIuYXNpYWlu^M
   
Zm8uY29tQG9jZHCKAX/Yd/tRigF//IR/UY4N2lEUJ5ccTLbM5cNPwuu6GFWKp5OZluQVSERGU19E^M
   RUxFR0FUSU9OX1RPS0VOETEwLjE5LjI5LjE3Mjo4MDIwAA==) failed on engine side
   org.apache.kyuubi.KyuubiSQLException: Delegation token is not supported
           at 
org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:69) 
~[kyuubi-common_2.12-1.5.0-incubating.jar:1.5.0-incubating]
           at 
org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:81) 
~[kyuubi-common_2.12-1.5.0-incubating.jar:1.5.0-incubating]
           at 
org.apache.kyuubi.client.KyuubiSyncThriftClient.sendCredentials(KyuubiSyncThriftClient.scala:244)
 ~[kyuubi-server_2.12-1.5.0-incubating.jar:1.5.0-incubating]
   ```
   
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   ```yaml
   kyuubi-env.sh:
   export JAVA_HOME=/usr/jdk64/jdk1.8.0_271
   export HADOOP_CONF_DIR=/etc/hadoop/conf
   export FLINK_HOME=/home/jiaoqingbo/flink-1.14.4
   export HADOOP_CLASSPATH=`hadoop classpath`
   
   kyuubi-defaults.conf
   kyuubi.engine.type FLINK_SQL
   kyuubi.authentication KERBEROS
   ```
   
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   The default values of kyuubi.credentials.hadoopfs.enabled and 
kyuubi.credentials.hive.enabled are both true,then LaunchEngine will call   
renewEngineCredentials() method。
   However, FlinkTBinaryFrontendService does not implement the 
RenewDelegationToken method
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to