![]() I presume Kerberos works because I can obtain $ klist -ekt hbase. 18 more 17:33:18,073 WARN regionserver.HRegionServer: reportForDuty failed sleeping and then retrying. So I installed the MIT Kerberos package to debug. Out of my view, the Kerberos ticket doesn’t get handover to the DBVisualizer. And try to connect (picture dbvisualizer1 and dbvisualizer2) The GSS initiate failed is the same failure I get, when I also don’t do a kinit on in linux. 9 more Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt) I created a new driver with the uber jdbc driver. Consider 'kinit'.Īt .ipc.RpcClientImpl$Connection$1.run(RpcClientImpl.java:677)Īt .ipc.RpcClientImpl$Connection.handleSaslConnectionFailure(RpcClientImpl.java:635)Īt .ipc.RpcClientImpl$tupIOstreams(RpcClientImpl.java:743) The most likely cause is missing or invalid credentials. 5 more Caused by: : SASL authentication failed. 18 more 17:33:18,072 WARN regionserver.HRegionServer: error telling master we are up : java.io.IOException: Could not set up IO Streams to /172.24.4.60:16000Īt .(AbstractRpcClient.java:223)Īt (Thread.java:745) Caused by: java.io.IOException: Could not set up IO Streams to /172.24.4.60:16000Īt .ipc.RpcClientImpl$tupIOstreams(RpcClientImpl.java:777) : GSS initiate failed Īt .(GssKrb5Client.java:212)Īt .(HBaseSaslRpcClient.java:179)Īt .ipc.RpcClientImpl$tupSaslConnection(RpcClientImpl.java:609)Īt .ipc.RpcClientImpl$Connection.access$600(RpcClientImpl.java:154)Īt .ipc.RpcClientImpl$Connection$2.run(RpcClientImpl.java:735)Īt .ipc.RpcClientImpl$Connection$2.run(RpcClientImpl.java:732)Īt (Native Method)Īt .doAs(Subject.java:415)Īt .UserGroupInformation.doAs(UserGroupInformation.java:1614)Īt .ipc.RpcClientImpl$tupIOstreams(RpcClientImpl.java:732)Īt .ipc.RpcClientImpl$Connection.writeRequest(RpcClientImpl.java:885)Īt .ipc.RpcClientImpl$acedWriteRequest(RpcClientImpl.java:854)Īt .(RpcClientImpl.java:1180)Īt .(AbstractRpcClient.java:213)Īt .ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:287)Īt .$RegionServerStatusService$BlockingStub.regionServerStartup(RegionServerStatusProtos.java:8982)Īt .(HRegionServer.java:2260)Īt .(HRegionServer.java:893)Īt (Thread.java:745) Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)Īt 5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147)Īt 5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:121)Īt 5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:187)Īt .getMechanismContext(GSSManagerImpl.java:223)Īt .initSecContext(GSSContextImpl.java:212)Īt .initSecContext(GSSContextImpl.java:179)Īt .(GssKrb5Client.java:193) Click 'Add File' and choose the NQjc.jar file that was extracted from step 2). Set Class Name to .OpenAccessDriver and leave the URL Template and Default Port blank. 4) Give it a proper name and description. start-hbase command I get following error in regionserver.log 17:33:18,068 INFO regionserver.HRegionServer: reportForDuty to master=,16000,1445349909162 with port=16201, startcode=1445349910087 17:33:18,071 WARN ipc.AbstractRpcClient: Exception encountered while connecting to the server : : GSS initiate failed 17:33:18,071 FATAL ipc.AbstractRpcClient: SASL authentication failed. Go to Database > Driver Manager, and click New. Hbase-site.xml contents a pseudo-distributed mode and I didn't bother with undelying HDFS to keep things as simple as possible. ![]() KDC is located on the same machine as HBase I'm trying to secure.Īll-in-all, here's current environment state: I've already set up Kerberos KDC and client after following instruction Host machine is running under Centos 6.5. HBase 1.1.1 from Apache without any Cloudera influences. : Kerberos principal should have 3 parts: .(KerberosSaslHelper.java:48)Īt .HiveConnection.createBinaryTransport(HiveConnection.java:425)Īt .HiveConnection.openTransport(HiveConnection.java:202)Īt .HiveConnection.(HiveConnection.java:166)Īt .nnect(HiveDriver.java:105)Īt (Unknown Source)Īt (Unknown Source)Īt .invoke(Unknown Source)Īt .B.F$A.call(Z:1369)Īt .run(Unknown Source)Īt .runWorker(Unknown Source)Īt $Worker.I am trying to set up Kerberos authentication for HBase using this documentation and have very little progress so far.
0 Comments
Leave a Reply. |