zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/10.10.20.42:53187 remote=sv4borg13/10.10.21.13:2181] Regarding your second log paste, it could be harmless if the process on that other machine just took more time to boot, also it happened 20 minutes before your test. Do verify that hbase works before trying to create a table. J-D On Sun, Jan 9, 2011 at 10:37 PM, Adarsh Sharma <adarsh.sharma@orkash.com> wrote: > Jean-Daniel Cryans wrote: > > You also need to create the table in order to see the relevant debug > information, it won't create it until it needs it. > > Sir > Check the output : > > hive> CREATE TABLE hive_hbasetable_k(key int, value string) >     > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' >     > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val") >     > TBLPROPERTIES ("hbase.table.name" = "hivehbasek"); > FAILED: Error in metadata: > MetaException(message:org.apache.hadoop.hbase.MasterNotRunningException at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:374) at > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.getHBaseAdmin(HBaseStorageHandler.java:64) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.preCreateTable(HBaseStorageHandler.java:159) at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:275) at > org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:394) at > org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:2126)

hive-user | Jean-Daniel Cryans | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: Hive/Hbase Integration Error

    hive-user | 6 years ago | Jean-Daniel Cryans
    zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/10.10.20.42:53187 remote=sv4borg13/10.10.21.13:2181] Regarding your second log paste, it could be harmless if the process on that other machine just took more time to boot, also it happened 20 minutes before your test. Do verify that hbase works before trying to create a table. J-D On Sun, Jan 9, 2011 at 10:37 PM, Adarsh Sharma <adarsh.sharma@orkash.com> wrote: > Jean-Daniel Cryans wrote: > > You also need to create the table in order to see the relevant debug > information, it won't create it until it needs it. > > Sir > Check the output : > > hive> CREATE TABLE hive_hbasetable_k(key int, value string) >     > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' >     > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val") >     > TBLPROPERTIES ("hbase.table.name" = "hivehbasek"); > FAILED: Error in metadata: > MetaException(message:org.apache.hadoop.hbase.MasterNotRunningException at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:374) at > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.getHBaseAdmin(HBaseStorageHandler.java:64) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.preCreateTable(HBaseStorageHandler.java:159) at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:275) at > org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:394) at > org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:2126)
  2. 0

    Re: Hive/Hbase Integration Error

    hive-user | 6 years ago | Jean-Daniel Cryans
    zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/10.10.20.42:53187 remote=sv4borg13/10.10.21.13:2181] Regarding your second log paste, it could be harmless if the process on that other machine just took more time to boot, also it happened 20 minutes before your test. Do verify that hbase works before trying to create a table. J-D On Sun, Jan 9, 2011 at 10:37 PM, Adarsh Sharma <adarsh.sharma@orkash.com> wrote: > Jean-Daniel Cryans wrote: > > You also need to create the table in order to see the relevant debug > information, it won't create it until it needs it. > > Sir > Check the output : > > hive> CREATE TABLE hive_hbasetable_k(key int, value string) >     > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' >     > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val") >     > TBLPROPERTIES ("hbase.table.name" = "hivehbasek"); > FAILED: Error in metadata: > MetaException(message:org.apache.hadoop.hbase.MasterNotRunningException at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:374) at > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.getHBaseAdmin(HBaseStorageHandler.java:64) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.preCreateTable(HBaseStorageHandler.java:159) at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:275) at > org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:394) at > org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:2126)

    Root Cause Analysis

    1. zookeeper.ClientCnxn

      Priming connection to java.nio.channels.SocketChannel[connected local=/10.10.20.42:53187 remote=sv4borg13/10.10.21.13:2181] Regarding your second log paste, it could be harmless if the process on that other machine just took more time to boot, also it happened 20 minutes before your test. Do verify that hbase works before trying to create a table. J-D On Sun, Jan 9, 2011 at 10:37 PM, Adarsh Sharma <adarsh.sharma@orkash.com> wrote: > Jean-Daniel Cryans wrote: > > You also need to create the table in order to see the relevant debug > information, it won't create it until it needs it. > > Sir > Check the output : > > hive> CREATE TABLE hive_hbasetable_k(key int, value string) >     > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' >     > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val") >     > TBLPROPERTIES ("hbase.table.name" = "hivehbasek"); > FAILED: Error in metadata: > MetaException(message:org.apache.hadoop.hbase.MasterNotRunningException at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:374) at > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.getHBaseAdmin(HBaseStorageHandler.java:64) at > org.apache.hadoop.hive.hbase.HBaseStorageHandler.preCreateTable(HBaseStorageHandler.java:159) at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:275) at > org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:394) at > org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:2126)

      at org.apache.hadoop.hive.ql.exec.DDLTask.execute()
    2. Hive Query Language
      Task.executeTask
      1. org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:166)
      2. org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:107)
      2 frames