Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2860

[shell] Drop table has wrong help and throws exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 0.90.0
    • Component/s: shell
    • Labels:
      None
    • Tags:
      noob

      Description

      Here is current help:

      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."
      

      Here is the exception it throws:

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stack stack
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: