Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

hbase unknown state

By: a guest on Dec 12th, 2012  |  syntax: Bash  |  size: 1.55 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2.  
  3. 12/12/12 19:54:28 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
  4. HBase Shell; enter 'help<RETURN>' for list of supported commands.
  5. Type "exit<RETURN>" to leave the HBase Shell
  6. Version 0.92.1-cdh4.0.1, rUnknown, Thu Jun 28 18:13:01 PDT 2012
  7.  
  8.  
  9. truncate 'test_table
  10. Truncating 'test_table' table (it may take a while):
  11. - Disabling table...
  12.  
  13. ERROR: org.apache.hadoop.hbase.TableNotEnabledException: org.apache.hadoop.hbase.TableNotEnabledException: test_table
  14.         at org.apache.hadoop.hbase.master.handler.DisableTableHandler.<init>(DisableTableHandler.java:75)
  15.         at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:1154)
  16.         at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
  17.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  18.         at java.lang.reflect.Method.invoke(Method.java:601)
  19.         at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
  20.         at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1336)
  21.  
  22. Here is some help for this command:
  23.  Disables, drops and recreates the specified table.
  24.  
  25.  
  26.  
  27. is_enabled 'test_table'
  28. true
  29. 0 row(s) in 0.0030 seconds
  30.  
  31.  
  32. is_disabled 'test_table'
  33. false
  34. 0 row(s) in 0.0020 seconds
  35.  
  36.  
  37. drop 'test_table'
  38.  
  39. ERROR: Table test_table is enabled. Disable it first.'
  40.  
  41. Here is some help for this command:
  42. Drop the named table. Table must first be disabled. If table has
  43. more than one region, run a major compaction on .META.:
  44.  
  45.   hbase> major_compact ".META."
clone this paste RAW Paste Data