HBase
  1. HBase
  2. HBASE-2860

[shell] Drop table has wrong help and throws exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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)
      

        Activity

        Lars Francke made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        stack made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        stack created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development