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
  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)
  3. 0

    org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase

    Google Groups | 6 years ago | Shuja Rehman
    zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect 07-Apr-2011 23:03:08 DAO.AbstractDAO connect SEVERE: null org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Catching ZK ConnectionLoss with HTable

    Google Groups | 6 years ago | Sandy Pratt
    zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect It then goes on to retry endlessly. Killing the spinning job and running it again worked fine, so crashing would be preferable to me over retrying endlessly. I'm not especially concerned about what went wrong to cause ConnectionLoss in the first place, but I am interested in being able to set some behavior for handling the ZK exceptions elegantly. For example, the call site in my code leading to the exception is this: Get get = new Get(Bytes.toBytes(level.rowKeyDateFormat.format(dts))); Result result = timestampsTable.get(get); I suppose this means that if I want to catch ConnectionLoss in my code, I have to wrap all my gets and puts with that catch block. Or maybe just the first one? It seems like HTable and friends might be able to catch this exception in a more central location, maybe somewhere in here:
  6. 0

    HBase client library location on HBase cluster - Grokbase

    grokbase.com | 11 months ago
    zookeeper.ClientCnxn: Session establishment complete on server datanode-v01-07d.dev.btrll.com/10.146.147.207:2181, sessionid = 0x13ce8801f850005, negotiated timeout = 60000 Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1035)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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