You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Tim Sell <tr...@gmail.com> on 2009/07/29 18:34:21 UTC

shell bug?

not sure what's going on here. I have a table called temp.
I try to disable it in the shell and after a log wait get:

hbase(main):016:0> disable 'temp'
NativeException: java.io.IOException: java.io.IOException:
java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.client.Delete.deleteColumns([B[B)V
        at org.apache.hadoop.hbase.master.ChangeTableState.postProcessMeta(ChangeTableState.java:87)
        at org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:144)
        at org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:72)
        at org.apache.hadoop.hbase.master.RetryableMetaOperation.doWithRetries(RetryableMetaOperation.java:65)
        at org.apache.hadoop.hbase.master.TableOperation.process(TableOperation.java:155)
        at org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:834)
        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:643)
        at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:913)

        from sun/reflect/NativeConstructorAccessorImpl.java:-2:in `newInstance0'
        from sun/reflect/NativeConstructorAccessorImpl.java:39:in `newInstance'
        from sun/reflect/DelegatingConstructorAccessorImpl.java:27:in
`newInstance'
        from java/lang/reflect/Constructor.java:513:in `newInstance'
        from org/apache/hadoop/hbase/RemoteExceptionHandler.java:94:in
`decodeRemoteException'
        from org/apache/hadoop/hbase/client/HBaseAdmin.java:384:in
`disableTable'
        from org/apache/hadoop/hbase/client/HBaseAdmin.java:366:in
`disableTable'
        from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
        from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
        from sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
        from java/lang/reflect/Method.java:597:in `invoke'
        from org/jruby/javasupport/JavaMethod.java:298:in
`invokeWithExceptionHandling'
        from org/jruby/javasupport/JavaMethod.java:259:in `invoke'
        from org/jruby/java/invokers/InstanceMethodInvoker.java:44:in `call'
        from org/jruby/runtime/callsite/CachingCallSite.java:110:in `call'
        from org/jruby/ast/CallOneArgNode.java:57:in `interpret'
... 111 levels...
        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb#start:-1:in `call'
        from org/jruby/internal/runtime/methods/DynamicMethod.java:226:in `call'
        from org/jruby/internal/runtime/methods/CompiledMethod.java:211:in
`call'
        from org/jruby/internal/runtime/methods/CompiledMethod.java:71:in `call'
        from org/jruby/runtime/callsite/CachingCallSite.java:253:in
`cacheAndCall'
        from org/jruby/runtime/callsite/CachingCallSite.java:72:in `call'
        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb.rb:487:in `__file__'
        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb.rb:-1:in `load'
        from org/jruby/Ruby.java:577:in `runScript'
        from org/jruby/Ruby.java:480:in `runNormally'
        from org/jruby/Ruby.java:354:in `runFromMain'
        from org/jruby/Main.java:229:in `run'
        from org/jruby/Main.java:110:in `run'
        from org/jruby/Main.java:94:in `main'
        from /home/hadoop/hbase/bin/../bin/hirb.rb:346:in `disable'

not surprisingly trying to drop it after this tells me it's not disabled.

Re: shell bug?

Posted by Tim Sell <tr...@gmail.com>.
Sorry, false alarm I think, this was after my cluster exploded (my own
fault) with caused that problem I mentioned of nulls in the .meta.
table. This was probably why this wasn't working.
I purged all the data now, but I doubt it would ever happen again
under normal circumstances. So not a hbase fault.


~Tim.

2009/7/29 stack <st...@duboce.net>:
> I just tried it on recent TRUNK and works for me.  Lets figure whats
> different Tim.
> St.Ack
>
> On Wed, Jul 29, 2009 at 9:34 AM, Tim Sell <tr...@gmail.com> wrote:
>
>> not sure what's going on here. I have a table called temp.
>> I try to disable it in the shell and after a log wait get:
>>
>> hbase(main):016:0> disable 'temp'
>> NativeException: java.io.IOException: java.io.IOException:
>> java.lang.NoSuchMethodError:
>> org.apache.hadoop.hbase.client.Delete.deleteColumns([B[B)V
>>        at
>> org.apache.hadoop.hbase.master.ChangeTableState.postProcessMeta(ChangeTableState.java:87)
>>        at
>> org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:144)
>>        at
>> org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:72)
>>        at
>> org.apache.hadoop.hbase.master.RetryableMetaOperation.doWithRetries(RetryableMetaOperation.java:65)
>>        at
>> org.apache.hadoop.hbase.master.TableOperation.process(TableOperation.java:155)
>>        at
>> org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:834)
>>        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:643)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:913)
>>
>>        from sun/reflect/NativeConstructorAccessorImpl.java:-2:in
>> `newInstance0'
>>        from sun/reflect/NativeConstructorAccessorImpl.java:39:in
>> `newInstance'
>>        from sun/reflect/DelegatingConstructorAccessorImpl.java:27:in
>> `newInstance'
>>        from java/lang/reflect/Constructor.java:513:in `newInstance'
>>        from org/apache/hadoop/hbase/RemoteExceptionHandler.java:94:in
>> `decodeRemoteException'
>>        from org/apache/hadoop/hbase/client/HBaseAdmin.java:384:in
>> `disableTable'
>>        from org/apache/hadoop/hbase/client/HBaseAdmin.java:366:in
>> `disableTable'
>>        from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
>>        from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
>>        from sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
>>        from java/lang/reflect/Method.java:597:in `invoke'
>>        from org/jruby/javasupport/JavaMethod.java:298:in
>> `invokeWithExceptionHandling'
>>        from org/jruby/javasupport/JavaMethod.java:259:in `invoke'
>>        from org/jruby/java/invokers/InstanceMethodInvoker.java:44:in `call'
>>        from org/jruby/runtime/callsite/CachingCallSite.java:110:in `call'
>>        from org/jruby/ast/CallOneArgNode.java:57:in `interpret'
>> ... 111 levels...
>>        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb#start:-1:in `call'
>>        from org/jruby/internal/runtime/methods/DynamicMethod.java:226:in
>> `call'
>>        from org/jruby/internal/runtime/methods/CompiledMethod.java:211:in
>> `call'
>>        from org/jruby/internal/runtime/methods/CompiledMethod.java:71:in
>> `call'
>>        from org/jruby/runtime/callsite/CachingCallSite.java:253:in
>> `cacheAndCall'
>>        from org/jruby/runtime/callsite/CachingCallSite.java:72:in `call'
>>        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb.rb:487:in `__file__'
>>        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb.rb:-1:in `load'
>>        from org/jruby/Ruby.java:577:in `runScript'
>>        from org/jruby/Ruby.java:480:in `runNormally'
>>        from org/jruby/Ruby.java:354:in `runFromMain'
>>        from org/jruby/Main.java:229:in `run'
>>        from org/jruby/Main.java:110:in `run'
>>        from org/jruby/Main.java:94:in `main'
>>        from /home/hadoop/hbase/bin/../bin/hirb.rb:346:in `disable'
>>
>> not surprisingly trying to drop it after this tells me it's not disabled.
>>
>

Re: shell bug?

Posted by stack <st...@duboce.net>.
I just tried it on recent TRUNK and works for me.  Lets figure whats
different Tim.
St.Ack

On Wed, Jul 29, 2009 at 9:34 AM, Tim Sell <tr...@gmail.com> wrote:

> not sure what's going on here. I have a table called temp.
> I try to disable it in the shell and after a log wait get:
>
> hbase(main):016:0> disable 'temp'
> NativeException: java.io.IOException: java.io.IOException:
> java.lang.NoSuchMethodError:
> org.apache.hadoop.hbase.client.Delete.deleteColumns([B[B)V
>        at
> org.apache.hadoop.hbase.master.ChangeTableState.postProcessMeta(ChangeTableState.java:87)
>        at
> org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:144)
>        at
> org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:72)
>        at
> org.apache.hadoop.hbase.master.RetryableMetaOperation.doWithRetries(RetryableMetaOperation.java:65)
>        at
> org.apache.hadoop.hbase.master.TableOperation.process(TableOperation.java:155)
>        at
> org.apache.hadoop.hbase.master.HMaster.disableTable(HMaster.java:834)
>        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:643)
>        at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:913)
>
>        from sun/reflect/NativeConstructorAccessorImpl.java:-2:in
> `newInstance0'
>        from sun/reflect/NativeConstructorAccessorImpl.java:39:in
> `newInstance'
>        from sun/reflect/DelegatingConstructorAccessorImpl.java:27:in
> `newInstance'
>        from java/lang/reflect/Constructor.java:513:in `newInstance'
>        from org/apache/hadoop/hbase/RemoteExceptionHandler.java:94:in
> `decodeRemoteException'
>        from org/apache/hadoop/hbase/client/HBaseAdmin.java:384:in
> `disableTable'
>        from org/apache/hadoop/hbase/client/HBaseAdmin.java:366:in
> `disableTable'
>        from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
>        from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
>        from sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
>        from java/lang/reflect/Method.java:597:in `invoke'
>        from org/jruby/javasupport/JavaMethod.java:298:in
> `invokeWithExceptionHandling'
>        from org/jruby/javasupport/JavaMethod.java:259:in `invoke'
>        from org/jruby/java/invokers/InstanceMethodInvoker.java:44:in `call'
>        from org/jruby/runtime/callsite/CachingCallSite.java:110:in `call'
>        from org/jruby/ast/CallOneArgNode.java:57:in `interpret'
> ... 111 levels...
>        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb#start:-1:in `call'
>        from org/jruby/internal/runtime/methods/DynamicMethod.java:226:in
> `call'
>        from org/jruby/internal/runtime/methods/CompiledMethod.java:211:in
> `call'
>        from org/jruby/internal/runtime/methods/CompiledMethod.java:71:in
> `call'
>        from org/jruby/runtime/callsite/CachingCallSite.java:253:in
> `cacheAndCall'
>        from org/jruby/runtime/callsite/CachingCallSite.java:72:in `call'
>        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb.rb:487:in `__file__'
>        from home/hadoop/hbase/bin/$_dot_dot_/bin/hirb.rb:-1:in `load'
>        from org/jruby/Ruby.java:577:in `runScript'
>        from org/jruby/Ruby.java:480:in `runNormally'
>        from org/jruby/Ruby.java:354:in `runFromMain'
>        from org/jruby/Main.java:229:in `run'
>        from org/jruby/Main.java:110:in `run'
>        from org/jruby/Main.java:94:in `main'
>        from /home/hadoop/hbase/bin/../bin/hirb.rb:346:in `disable'
>
> not surprisingly trying to drop it after this tells me it's not disabled.
>