Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-28-2018 09:06 PM
i followed the steps in the link below to enable Hbase rest in Kerberos but when I give the rest command is throwing error. I can see the rest server is up .
added the following to Custom Hbase-Site.xml and bounced services hdfs,hbase and others. hbase.rest.authentication.type=kerberos hbase.master.kerberos.principal=hbase/[email protected] hbase.master.keytab.file=/etc/security/keytabs/hbase.service.keytab hadoop.proxyuser.HTTP.groups=* hadoop.proxyuser.HTTP.hosts=* hbase.security.authorization=true hbase.rest.authentication.kerberos.keytab=/etc/security/keytabs/spnego.service.keytab hbase.rest.authentication.kerberos.principal=HTTP/[email protected] hbase.security.authentication=kerberos hbase.rest.kerberos.principal=hbase/[email protected] hbase.rest.keytab.file=/etc/security/keytabs/hbase.service.keytab hbase.rest.info.port=17050 hbase.rest.port=17000 normal way to start rest : [hbase@hadoop1 ~]$ /usr/hdp/current/hbase-master/bin/hbase-daemon.sh stop rest stopping rest.. [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ netstat -a | grep 17000 [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start rest starting rest, logging to /var/log/hbase/hbase-hbase-rest-hadoop1.out [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ netstat -a | grep 17000 tcp 0 0 *:17000 *:* LISTEN [hbase@hadoop1 ~]$ [hbase@hadoop1 ~]$ curl --negotiate -u : 'http://hadoop1:17000/status/cluster' <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 404 NOT_FOUND</title> </head> <body> <h2>HTTP ERROR: 404</h2> <p>Problem accessing /status/cluster. Reason: <pre> NOT_FOUND</pre></p> <hr /><i><small>Powered by Jetty://</small></i>
Created 06-29-2018 02:34 PM
found out .. was missing this parameter in hbase config
hbase.rest.authentication.kerberos.principal=HTTP/_HOST@
Created 06-29-2018 01:19 PM
Created 06-29-2018 02:34 PM
found out .. was missing this parameter in hbase config
hbase.rest.authentication.kerberos.principal=HTTP/_HOST@