Git Product home page Git Product logo

Comments (12)

amithkanand avatar amithkanand commented on July 28, 2024

I built Hannibal with HBase 1.1.3 and got the same error.

(Starting server. Type Ctrl+D to exit logs, the server will remain in background)

Play server process ID is 45244
[info] play - database [default] connected at jdbc:h2:data/metrics.h2
[error] application - Could not instanciate any api wrapper, Hannibal will now exit

from hannibal.

amithkanand avatar amithkanand commented on July 28, 2024

I was able to get past the error by adding 1.1.3 to list of apiVersions in Global.scala.

from hannibal.

meniku avatar meniku commented on July 28, 2024

Interesting, did you add an implementation for that api?

from hannibal.

amithkanand avatar amithkanand commented on July 28, 2024

I did add an implementation and it is working for me now. If anyone is interested they can clone hbase113 branch from my github. I am currently working on implementing changes to make it work on a secure(kerberos) cluster.

from hannibal.

clairvoyant-rohit avatar clairvoyant-rohit commented on July 28, 2024

Is this working . After adding keytabs and other configs for hannibal user , i am still facing issue starting hannibal on secured (keroborized) hbase .

Can someone let me know the exact configuration that needs to be added to the hbase-site.xml ?

Error :
[error] o.a.h.h.i.AbstractRpcClient - SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.
javax.security.sasl.SaslException: GSS initiate failed
at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:211) ~[na:1.8.0_131]
at org.apache.hadoop.hbase.security.HBaseSaslRpcClient.saslConnect(HBaseSaslRpcClient.java:179) ~[org.apache.hbase.hbase-client-1.1.3.jar:1.1.3]
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupSaslConnection(RpcClientImpl.java:612) [org.apache.hbase.hbase-client-1.1.3.jar:1.1.3]
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.access$600(RpcClientImpl.java:157) [org.apache.hbase.hbase-client-1.1.3.jar:1.1.3]
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection$2.run(RpcClientImpl.java:738) ~[org.apache.hbase.hbase-client-1.1.3.jar:1.1.3]
Caused by: org.ietf.jgss.GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
at sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147) ~[na:1.8.0_131]
at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:122) ~[na:1.8.0_131]
at sun.security.jgss.krb5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:187) ~[na:1.8.0_131]
at sun.security.jgss.GSSManagerImpl.getMechanismContext(GSSManagerImpl.java:224) ~[na:1.8.0_131]
at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:212) ~[na:1.8.0_131]

from hannibal.

amithkanand avatar amithkanand commented on July 28, 2024

I have modified hannibal to enable Kerberos support and HBase 1.1.3. Please try using my fork.

from hannibal.

clairvoyant-rohit avatar clairvoyant-rohit commented on July 28, 2024

I have tried that and it still gives me exception on kinit failure . Can you share the hbase-site.xml with required parameters ?

  • Created hannibal user and did kinit with this users principal.
  • Tried kinit with Principal for HBase Master

Nothing worked for me yet . Is there something i am missing here. I have followed all steps as per documents shared on different links .

from hannibal.

clairvoyant-rohit avatar clairvoyant-rohit commented on July 28, 2024

Can someone help me with this ? Really need this get going as we want to start monitoring the HBASE on production cluster .

from hannibal.

amithkanand avatar amithkanand commented on July 28, 2024

@clairvoyant-rohit I can help you with this. Do you want to reach out to me via hangouts? I can be reached at [email protected]

from hannibal.

clairvoyant-rohit avatar clairvoyant-rohit commented on July 28, 2024

from hannibal.

husenzhang avatar husenzhang commented on July 28, 2024

does hannibal 0.98 support HBase 2.2.6?

from hannibal.

meniku avatar meniku commented on July 28, 2024

from hannibal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.