[shell] Drop table has wrong help and throws exception
------------------------------------------------------
Key: HBASE-2860
URL: https://issues.apache.org/jira/browse/HBASE-2860
Project: HBase
Issue Type: Bug
Components: shell
Reporter: stack
Fix For: 0.90.0
Here is current help:
{code}
hbase(main):008:0> help 'drop'
COMMAND: drop
Drop the named table. Table must first be disabled. If table has
more than one region, run a major compaction on .META.:
hbase> major_compact ".META."
{code}
Here is the exception it throws:
{code}
ERROR: java.io.IOException: java.io.IOException: java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.master.HMaster.access$1(Lorg/apache/hadoop/hbase/master/HMaster;Lorg/apache/hadoop/hbase/client/Result;)Lorg/apache/hadoop/hbase/util/Pair;
at org.apache.hadoop.hbase.master.HMaster$1.processRow(HMaster.java:890)
at
org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:156)
at
org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:68)
at
org.apache.hadoop.hbase.master.HMaster.getTableRegions(HMaster.java:901)
at org.apache.hadoop.hbase.master.HMaster.modifyTable(HMaster.java:1036)
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.HBaseRPC$Server.call(HBaseRPC.java:576)
at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:919)
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.