Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase, mail # dev - security/configuration-related error when trying to create a table


Copy link to this message
-
security/configuration-related error when trying to create a table
Mikhail Bautin 2011-11-30, 23:34
Hello,

I am getting the following when trying to create a table from the
load-tester tool ported from 0.89-fb (https://reviews.facebook.net/D549).
It is weird that configuration instantiation fails given that it succeeded
earlier in the tool's workflow. Does anyone know why are we instantiating a
new configuration in HadoopUser's constructor, and why it could fail as if
it had a different classpath without the normal hbase-default.xml on it?

Caused by: org.apache.hadoop.ipc.RemoteException: java.io.IOException:
java.lang.RuntimeException: hbase-default.xml file seems to be for and old
version of HBase (null), this version is 0.93-SNAPSHOT
        at
org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:68)
        at
org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:100)
        at
org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:111)
        at
org.apache.hadoop.hbase.security.User$HadoopUser.<init>(User.java:243)
        at
org.apache.hadoop.hbase.security.User$HadoopUser.<init>(User.java:235)
        at org.apache.hadoop.hbase.security.User.getCurrent(User.java:141)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionKey.<init>(HConnectionManager.java:411)
        at
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:181)
        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:165)
        at
org.apache.hadoop.hbase.catalog.MetaReader.getHTable(MetaReader.java:198)
        at
org.apache.hadoop.hbase.catalog.MetaReader.getMetaHTable(MetaReader.java:224)
        at
org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:698)
        at
org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:181)
        at
org.apache.hadoop.hbase.catalog.MetaReader.tableExists(MetaReader.java:446)
        at
org.apache.hadoop.hbase.master.handler.CreateTableHandler.<init>(CreateTableHandler.java:89)
        at
org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1084)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
        at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1325)

        at
org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:897)
        at
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150)
        at $Proxy4.createTable(Unknown Source)
        at
org.apache.hadoop.hbase.client.HBaseAdmin.createTableAsync(HBaseAdmin.java:451)
        ... 4 more
org.apache.hadoop.hbase.TableNotFoundException: load_test1
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHTableDescriptor(HConnectionManager.java:1881)
        at
org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor(HBaseAdmin.java:274)
        at
org.apache.hadoop.hbase.manual.HBaseClusterTest.applyBloomFilterAndCompression(HBaseClusterTest.java:239)
        at
org.apache.hadoop.hbase.manual.HBaseClusterTest.createTables(HBaseClusterTest.java:83)
        at
org.apache.hadoop.hbase.manual.HBaseClusterTest.main(HBaseClusterTest.java:323)

Thanks,
--Mikhail
+
Jean-Daniel Cryans 2011-12-01, 00:15
+
Mikhail Bautin 2011-12-01, 02:04
+
Andrew Purtell 2011-12-01, 02:15
+
Roman Shaposhnik 2011-12-01, 02:24
+
Stack 2011-12-01, 02:34
+
Andrew Purtell 2011-12-01, 03:36
+
Gary Helmling 2011-12-01, 16:14
+
Doug Meil 2011-12-01, 17:20