You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2008/09/05 17:50:47 UTC
[jira] Created: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Getting exceptions in shell when creating/disabling tables
----------------------------------------------------------
Key: HBASE-872
URL: https://issues.apache.org/jira/browse/HBASE-872
Project: Hadoop HBase
Issue Type: Bug
Affects Versions: 0.2.1, 0.18.0
Reporter: Jean-Daniel Cryans
Fix For: 0.2.1, 0.18.0
On the list from Dru Jensen:
I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
I reformatted the dfs and recreated everything from scratch.
hbase(main):009:0> version
Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
hbase(main):007:0> create 'test', 'avg', 'std', 'max'
NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
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:585:in `invoke'
from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
from org/jruby/javasupport/JavaClass.java:416:in `execute'
from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
from org/jruby/runtime/CallSite.java:329:in `call'
from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
... 121 levels...
from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
from org/jruby/runtime/CallSite.java:298:in `call'
from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
from org/jruby/Ruby.java:512:in `runScript'
from org/jruby/Ruby.java:432:in `runNormally'
from org/jruby/Ruby.java:312:in `runFromMain'
from org/jruby/Main.java:144:in `run'
from org/jruby/Main.java:89:in `run'
from org/jruby/Main.java:80:in `main'
from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
from (hbase):8:in `binding'hbase(main):008:0>
And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
hbase(main):002:0> disable 'test'
NativeException: java.io.IOException: unable to disable table test
from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
from org/jruby/javasupport/JavaClass.java:416:in `execute'
from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
from org/jruby/runtime/CallSite.java:332:in `call'
from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
... 121 levels...
from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
from org/jruby/runtime/CallSite.java:298:in `call'
from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
from org/jruby/Ruby.java:512:in `runScript'
from org/jruby/Ruby.java:432:in `runNormally'
from org/jruby/Ruby.java:312:in `runFromMain'
from org/jruby/Main.java:144:in `run'
from org/jruby/Main.java:89:in `run'
from org/jruby/Main.java:80:in `main'
from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-872.
-------------------------
Resolution: Fixed
Committed branch and trunk. Thanks for the patch j-d.
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.2.1, 0.18.0
>
> Attachments: hbase-872-v1-branch-0.2.patch
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628659#action_12628659 ]
Jean-Daniel Cryans commented on HBASE-872:
------------------------------------------
I saw that too, pretty easy to recreate. Maybe we should up the waiting time a bit or add some retry logic?
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Fix For: 0.2.1, 0.18.0
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans reassigned HBASE-872:
----------------------------------------
Assignee: Jean-Daniel Cryans
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.2.1, 0.18.0
>
> Attachments: hbase-872-v1-branch-0.2.patch
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-872:
-------------------------------------
Attachment: hbase-872-v1-branch-0.2.patch
Fixes both problems. First, patch handles more exceptions in createTable by introducing a new parent class for regions handling related exceptions. Second problem isn't really one, the table always gets disabled (after some time) but we exhausted the retries we were given so I just changed to message.
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.2.1, 0.18.0
>
> Attachments: hbase-872-v1-branch-0.2.patch
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-872:
------------------------
Priority: Blocker (was: Major)
Making a blocker on 0.2.1
Only pity is that I can't reproduce on machines here -- but Daniel Leffel reported this yesterday up on his ec2 cluster.
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.2.1, 0.18.0
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628763#action_12628763 ]
stack commented on HBASE-872:
-----------------------------
Dru, since you can reproduce easily, would you mind changing retries to see if that fixes the issue for you?
In bin/hirb.rb, look for:
{code}
@configuration.setInt("hbase.client.retries.number", 3)
@configuration.setInt("ipc.client.connect.max.retries", 3)
{code}
Try commenting the two lines above out by prefixing the lines with a '#' character. See if that fixes it.
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.2.1, 0.18.0
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-872) Getting exceptions in shell when
creating/disabling tables
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628752#action_12628752 ]
Andrew Purtell commented on HBASE-872:
--------------------------------------
The client pause period was lowered from 5 seconds to 2 seconds as part of HBASE-830. Enable and disable table in HBaseAdmin already has wait and retry logic. Not sure what the shell does exactly.
> Getting exceptions in shell when creating/disabling tables
> ----------------------------------------------------------
>
> Key: HBASE-872
> URL: https://issues.apache.org/jira/browse/HBASE-872
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.1, 0.18.0
> Reporter: Jean-Daniel Cryans
> Fix For: 0.2.1, 0.18.0
>
>
> On the list from Dru Jensen:
> I am testing the release candidate with hadoop 0.17.2.1 release. I am curious if others are seeing this or if I have something mis-configured.
> I reformatted the dfs and recreated everything from scratch.
> hbase(main):009:0> version
> Version: 0.2.1, r691710, Wed Sep 3 11:50:24 PDT 2008
> I occasionally get the following error performing a create table. However when I do a list, the table was successfully created.
> hbase(main):007:0> create 'test', 'avg', 'std', 'max'
> NativeException: org.apache.hadoop.hbase.client.NoServerForRegionException: No server address listed in .META. for region test,,1220628716239
> from org/apache/hadoop/hbase/client/HConnectionManager.java:536:in `locateRegionInMeta'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:459:in `locateRegion'
> from org/apache/hadoop/hbase/client/HConnectionManager.java:419:in `locateRegion'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:157:in `createTable'
> 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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:329:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:228:in `create'
> from (hbase):8:in `binding'hbase(main):008:0>
> And occasionally, I get this exception when trying to disable a table. However it was successfully disabled.
> hbase(main):002:0> disable 'test'
> NativeException: java.io.IOException: unable to disable table test
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:418:in `disableTable'
> from org/apache/hadoop/hbase/client/HBaseAdmin.java:379: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:585:in `invoke'
> from org/jruby/javasupport/JavaMethod.java:250:in `invokeWithExceptionHandling'
> from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
> from org/jruby/javasupport/JavaClass.java:416:in `execute'
> from org/jruby/internal/runtime/methods/SimpleCallbackMethod.java:67:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:78:in `call'
> from org/jruby/runtime/CallSite.java:155:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:332:in `call'
> from org/jruby/evaluator/ASTInterpreter.java:649:in `callNode'
> from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> ... 121 levels...
> from ruby.opt.hbase_minus_0_dot_2_dot_1.bin.hirbInvokermethod__23$RUBY$startOpt:-1:in `call'
> from org/jruby/internal/runtime/methods/DynamicMethod.java:74:in `call'
> from org/jruby/internal/runtime/methods/CompiledMethod.java:48:in `call'
> from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
> from org/jruby/runtime/CallSite.java:298:in `call'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:351:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `__file__'
> from ruby/opt/hbase_minus_0_dot_2_dot_1/bin//opt/hbase/bin/../bin/hirb.rb:-1:in `load'
> from org/jruby/Ruby.java:512:in `runScript'
> from org/jruby/Ruby.java:432:in `runNormally'
> from org/jruby/Ruby.java:312:in `runFromMain'
> from org/jruby/Main.java:144:in `run'
> from org/jruby/Main.java:89:in `run'
> from org/jruby/Main.java:80:in `main'
> from /opt/hbase/bin/../bin/hirb.rb:254:in `disable'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.