To further isolate the problem, try doing some simple commands from the hbase shell after obtaining kerberos credentials:
1) kinit 2) hbase shell 3) in hbase shell: create 'testtable', 'f' put 'testtable', 'r1', 'f:col1', 'val1' get 'testtable', 'r1' If these all work, then the HBase code is correctly recognizing and utilizing your kerberos credentials, and there may be a problem with getting the credentials passed through the sqoop process. If these commands do _not_ work, then there is a problem with your kerberos / HBase security setup. For example. it could be a mismatch in the encryption ciphers (most kerberos configs will default to AES which is not or at least was not previously supported in Java 6 without the "unlimited strength" JCE policy files). On Mon, Aug 5, 2013 at 6:14 PM, ssatish <[email protected]> wrote: > I got the grant working for user by adding kuser1 to sudo users list by > adding the following code to hbase-site.xml and restarting master and > region > servers. > > hbase.superuser > kuser1 > > But I still get the ImportTool error - ERROR tool.ImportTool: Error during > import: Can't get authentication token > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/sqoop-import-into-secure-Hbase-with-kerberos-tp4048847p4048864.html > Sent from the HBase User mailing list archive at Nabble.com. >
