mattcasters commented on PR #8287:
URL: https://github.com/apache/hop/pull/8287#issuecomment-5599825103

   With TLS and Kerberos working I got the following error testing the WebHDFS 
endpoint:
   
   ```
   IOException: SPNEGO token failed for 
https://master1.bda2.vdab.be:9871/webhdfs/v1/?op=GETFILESTATUS
   Root cause: GSSException: No valid credentials provided (Mechanism level: 
Failed to find any Kerberos tgt)
   ```
   
   Detailed stack trace:
   ```
   java.io.IOException: SPNEGO token failed for 
https://master1.bda2.vdab.be:9871/webhdfs/v1/?op=GETFILESTATUS
        at 
org.apache.hop.vfs.hdfs.client.HdfsWebHdfsClient.addSpnego(HdfsWebHdfsClient.java:318)
        at 
org.apache.hop.vfs.hdfs.client.HdfsWebHdfsClient.request(HdfsWebHdfsClient.java:307)
        at 
org.apache.hop.vfs.hdfs.client.HdfsWebHdfsClient.executeString(HdfsWebHdfsClient.java:241)
        at 
org.apache.hop.vfs.hdfs.client.HdfsWebHdfsClient.getFileStatus(HdfsWebHdfsClient.java:103)
        at 
org.apache.hop.vfs.hdfs.HdfsConnectionTester.testCluster(HdfsConnectionTester.java:59)
        at org.apache.hop.vfs.hdfs.metadata.HdfsMeta.runTest(HdfsMeta.java:391)
        at 
org.apache.hop.vfs.hdfs.metadata.HdfsMeta.testClusterButton(HdfsMeta.java:191)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.apache.hop.core.gui.plugin.GuiWidgetMethodInvoker.invoke(GuiWidgetMethodInvoker.java:44)
        at 
org.apache.hop.ui.core.gui.GuiCompositeWidgets.lambda$getButtonControl$6(GuiCompositeWidgets.java:795)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4363)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1217)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4161)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3749)
        at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:820)
        at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:649)
   Caused by: GSSException: No valid credentials provided (Mechanism level: No 
valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))
        at 
java.security.jgss/sun.security.jgss.spnego.SpNegoContext.initSecContext(SpNegoContext.java:457)
        at 
java.security.jgss/sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:266)
        at 
java.security.jgss/sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:196)
        at 
org.apache.hop.vfs.hdfs.client.HdfsSpnego.authorizationHeader(HdfsSpnego.java:44)
        at 
org.apache.hop.vfs.hdfs.client.HdfsWebHdfsClient.addSpnego(HdfsWebHdfsClient.java:316)
        ... 17 more
   Caused by: GSSException: No valid credentials provided (Mechanism level: 
Failed to find any Kerberos tgt)
        at 
java.security.jgss/sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:164)
        at 
java.security.jgss/sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:126)
        at 
java.security.jgss/sun.security.jgss.krb5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:194)
        at 
java.security.jgss/sun.security.jgss.GSSManagerImpl.getMechanismContext(GSSManagerImpl.java:206)
        at 
java.security.jgss/sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:230)
        at 
java.security.jgss/sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:196)
        at 
java.security.jgss/sun.security.jgss.spnego.SpNegoContext.GSS_initSecContext(SpNegoContext.java:882)
        at 
java.security.jgss/sun.security.jgss.spnego.SpNegoContext.initSecContext(SpNegoContext.java:320)
        ... 21 more
   
   ``


-- 
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]

Reply via email to