You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/09/14 00:19:35 UTC

[jira] Commented: (HBASE-2860) [shell] Drop table has wrong help and throws exception

    [ https://issues.apache.org/jira/browse/HBASE-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909024#action_12909024 ] 

Jean-Daniel Cryans commented on HBASE-2860:
-------------------------------------------

I don't see this exception when failing to disable (looks like you had a mixed up build directory) and the help message is actually the good one. Should we close this?

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