You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Rakhi Khatwani <ra...@gmail.com> on 2009/04/16 12:14:27 UTC

EOF Exception while performing a list command on hbase shell

Hi,
    I tried to list all the tables on hbase and i get the following
exception:


hbase(main):001:0> list
NativeException: org.apache.hadoop.hbase.client.RetriesExhaustedException:
Trying to contact region server 10.254.74.127:60020 for region .META.,,1,
row '', but failed after 5 attempts.
Exceptions:
java.io.IOException: Call to /10.254.74.127:60020 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.254.74.127:60020 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.254.74.127:60020 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.254.74.127:60020 failed on local exception:
java.io.EOFException
java.io.IOException: Call to /10.254.74.127:60020 failed on local exception:
java.io.EOFException

        from org/apache/hadoop/hbase/client/HConnectionManager.java:841:in
`getRegionServerWithRetries'
        from org/apache/hadoop/hbase/client/MetaScanner.java:56:in
`metaScan'
        from org/apache/hadoop/hbase/client/MetaScanner.java:30:in
`metaScan'
        from org/apache/hadoop/hbase/client/HConnectionManager.java:311:in
`listTables'
        from org/apache/hadoop/hbase/client/HBaseAdmin.java:122:in
`listTables'
        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: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:70:in
`call'
        from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
        from org/jruby/runtime/CallSite.java:298:in `call'
... 130 levels...
        from
ruby.usr.local.hbase_minus_0_dot_19_dot_0.bin.hirbInvokermethod__32$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/usr/local/hbase_minus_0_dot_19_dot_0/bin//usr/local/hbase-0.19.0/bin/../bin/hirb.rb:429:in
`__file__'
        from
ruby/usr/local/hbase_minus_0_dot_19_dot_0/bin//usr/local/hbase-0.19.0/bin/../bin/hirb.rb:-1:in
`__file__'
        from
ruby/usr/local/hbase_minus_0_dot_19_dot_0/bin//usr/local/hbase-0.19.0/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 /usr/local/hbase-0.19.0/bin/../bin/hirb.rb:288:in `list'


what could be the reason??

Thanks
Raakhi.

Re: EOF Exception while performing a list command on hbase shell

Posted by Rakhi Khatwani <ra...@gmail.com>.
Hi Andrew,
                We usually do an rsync.. so all my instances/nodes have the
same version of hadoop and hbase.

Regards,
Raakhi


On Fri, Apr 17, 2009 at 5:04 PM, Andrew Purtell <ap...@apache.org> wrote:

>
> Socket or EOF exceptions during HRPC are typical of deployments
> where the versions of the various jarfiles are mixed. So, this
> is one possible cause. You could use rsync to make sure that
> all of the Hadoop and HBase jar files on your instances are the
> same version: on the master, regionserver, and clients. Be sure
> to shut down before syncing the jars. If the problem persists
> after this, please let us know.
>
>   - Andy
>
> > From: Rakhi Khatwani
> > Subject: EOF Exception while performing a list command on hbase shell
> > To: hbase-user@hadoop.apache.org
> > Date: Thursday, April 16, 2009, 3:14 AM
> > Hi,
> >     I tried to list all the tables on hbase and i get the
> > following exception:
> >
> > hbase(main):001:0> list
> > NativeException:
> > org.apache.hadoop.hbase.client.RetriesExhaustedException:
> > Trying to contact region server 10.254.74.127:60020 for
> > region .META.,,1, row '', but failed after 5 attempts.
> > Exceptions:
> > java.io.IOException: Call to /10.254.74.127:60020 failed on
> > local exception: java.io.EOFException
> > java.io.IOException: Call to /10.254.74.127:60020 failed on
> > local exception: java.io.EOFException
> > java.io.IOException: Call to /10.254.74.127:60020 failed on
> > local exception: java.io.EOFException
> > java.io.IOException: Call to /10.254.74.127:60020 failed on
> > local exception: java.io.EOFException
> > java.io.IOException: Call to /10.254.74.127:60020 failed on
> > local exception: java.io.EOFException
> >         from
> > org/apache/hadoop/hbase/client/HConnectionManager.java:841:in
> > `getRegionServerWithRetries'
> >         from
> > org/apache/hadoop/hbase/client/MetaScanner.java:56:in
> > `metaScan'
> [...]
>
>
>
>
>

Re: EOF Exception while performing a list command on hbase shell

Posted by Andrew Purtell <ap...@apache.org>.
Socket or EOF exceptions during HRPC are typical of deployments
where the versions of the various jarfiles are mixed. So, this
is one possible cause. You could use rsync to make sure that
all of the Hadoop and HBase jar files on your instances are the
same version: on the master, regionserver, and clients. Be sure
to shut down before syncing the jars. If the problem persists
after this, please let us know. 

   - Andy

> From: Rakhi Khatwani
> Subject: EOF Exception while performing a list command on hbase shell
> To: hbase-user@hadoop.apache.org
> Date: Thursday, April 16, 2009, 3:14 AM
> Hi,
>     I tried to list all the tables on hbase and i get the
> following exception:
> 
> hbase(main):001:0> list
> NativeException:
> org.apache.hadoop.hbase.client.RetriesExhaustedException:
> Trying to contact region server 10.254.74.127:60020 for
> region .META.,,1, row '', but failed after 5 attempts.
> Exceptions:
> java.io.IOException: Call to /10.254.74.127:60020 failed on
> local exception: java.io.EOFException
> java.io.IOException: Call to /10.254.74.127:60020 failed on
> local exception: java.io.EOFException
> java.io.IOException: Call to /10.254.74.127:60020 failed on
> local exception: java.io.EOFException
> java.io.IOException: Call to /10.254.74.127:60020 failed on
> local exception: java.io.EOFException
> java.io.IOException: Call to /10.254.74.127:60020 failed on
> local exception: java.io.EOFException
>         from
> org/apache/hadoop/hbase/client/HConnectionManager.java:841:in
> `getRegionServerWithRetries'
>         from
> org/apache/hadoop/hbase/client/MetaScanner.java:56:in
> `metaScan'
[...]