Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> HBase 0.94 security configurations


Copy link to this message
-
Re: HBase 0.94 security configurations
I'm trying to run a test for HBase (some think we wrote, internal) on my
laptop - runs perfectly with the old versions of Hadoop, HBase and
ZooKeeeper.

After deploying the new versions and re-compiling our code, I run the test.

When I try to instantiate  "new HBaseAdmin(getConfiguration())" - where the
configuration is from HBaseTestingUtility, I get the following on the
console output:

2012-05-31 21:36:51.728 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.client.ZooKeeperSaslClient              -
SecurityException: java.lang.SecurityException: Unable to locate a login
configuration occurred when trying to find JAAS configuration.
2012-05-31 21:36:51.741 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.ClientCnxn                              - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_31]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
~[na:1.6.0_31]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
2012-05-31 21:36:51.852 [main]      WARN
 org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper       - Possibly
transient ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2012-05-31 21:36:52.847 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.client.ZooKeeperSaslClient              -
SecurityException: java.lang.SecurityException: Unable to locate a login
configuration occurred when trying to find JAAS configuration.
2012-05-31 21:36:52.848 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.ClientCnxn                              - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_31]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
~[na:1.6.0_31]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
2012-05-31 21:36:53.949 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.client.ZooKeeperSaslClient              -
SecurityException: java.lang.SecurityException: Unable to locate a login
configuration occurred when trying to find JAAS configuration.
2012-05-31 21:36:53.951 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.ClientCnxn                              - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_31]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
~[na:1.6.0_31]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
2012-05-31 21:36:54.052 [main]      WARN
 org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper       - Possibly
transient ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2012-05-31 21:36:55.052 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.client.ZooKeeperSaslClient              -
SecurityException: java.lang.SecurityException: Unable to locate a login
configuration occurred when trying to find JAAS configuration.
2012-05-31 21:36:55.053 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.ClientCnxn                              - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_31]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
~[na:1.6.0_31]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
2012-05-31 21:36:56.155 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.client.ZooKeeperSaslClient              -
SecurityException: java.lang.SecurityException: Unable to locate a login
configuration occurred when trying to find JAAS configuration.
2012-05-31 21:36:56.156 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.ClientCnxn                              - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_31]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
~[na:1.6.0_31]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
~[zookeeper-3.4.3.jar:3.4.3-1240972]
2012-05-31 21:36:57.258 [main-SendThread(localhost.localdomain:2181)] WARN
 org.apache.zookeeper.client.ZooKeeperSaslClient              -
SecurityException: java.lang.SecurityException: Unable to locate a login
configuration occurred when trying to find JAAS configuration.
2012-05-31 21:36:57.259 [main-SendThread(local
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB