You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by LoveIR <sh...@gmail.com> on 2011/11/02 18:14:41 UTC
Getting EOF Exception when starting HBASE
Hi,
I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
getting the following exception in my HMaster logs when trying to start
HBase:
java.io.IOException: failed on local exception: java.io.EOFException
This is causing my HMaster thread to abort and I am getting
MasterNotRunningException when trying to run any commands in Hbase shell.
I am new to Hbase, Please help !! Thanks!!
--
View this message in context: http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
Sent from the HBase User mailing list archive at Nabble.com.
Re: Getting EOF Exception when starting HBASE
Posted by Amitanand Aiyer <am...@fb.com>.
from the appropriate directory try:
patch -p0 [--dry-run] < patch-file-name
get rid of --dry-run, if the output looks fine.
On Nov 2, 2011, at 5:36 PM, LoveIR wrote:
>
> Thanks!! I resolved that problem by copying the Hadoop jars to hbase/lib
> directory. I am facing a new problem of hbase version replication problem
> described in:
> https://issues.apache.org/jira/browse/HBASE-3800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs
>
> Can somebody tell me how to apply the patch attached in the link ?? I could
> not find any info on that. Thanks!!
>
>
>
>
>
> Harsh J wrote:
>>
>> Also, Apache Hadoop 0.20.203 isn't a Hadoop version you'd want to use
>> HBase with in production (lacks 0.20-append branch features). The book
>> link provided by J-D covers the recommendations.
>>
>> On 02-Nov-2011, at 11:42 PM, Jack Levin wrote:
>>
>>> You likely have hadoop-core in hbase/lib dir that's wrong, delete it, and
>>> copy one from Hadoop/ dir
>>>
>>> -Jack
>>>
>>>
>>> On Nov 2, 2011, at 10:14 AM, LoveIR <sh...@gmail.com> wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
>>>> getting the following exception in my HMaster logs when trying to start
>>>> HBase:
>>>>
>>>> java.io.IOException: failed on local exception: java.io.EOFException
>>>>
>>>> This is causing my HMaster thread to abort and I am getting
>>>> MasterNotRunningException when trying to run any commands in Hbase
>>>> shell.
>>>>
>>>> I am new to Hbase, Please help !! Thanks!!
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
>>>> Sent from the HBase User mailing list archive at Nabble.com.
>>>>
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32769931.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
Re: Getting EOF Exception when starting HBASE
Posted by LoveIR <sh...@gmail.com>.
Thanks!! I resolved that problem by copying the Hadoop jars to hbase/lib
directory. I am facing a new problem of hbase version replication problem
described in:
https://issues.apache.org/jira/browse/HBASE-3800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs
Can somebody tell me how to apply the patch attached in the link ?? I could
not find any info on that. Thanks!!
Harsh J wrote:
>
> Also, Apache Hadoop 0.20.203 isn't a Hadoop version you'd want to use
> HBase with in production (lacks 0.20-append branch features). The book
> link provided by J-D covers the recommendations.
>
> On 02-Nov-2011, at 11:42 PM, Jack Levin wrote:
>
>> You likely have hadoop-core in hbase/lib dir that's wrong, delete it, and
>> copy one from Hadoop/ dir
>>
>> -Jack
>>
>>
>> On Nov 2, 2011, at 10:14 AM, LoveIR <sh...@gmail.com> wrote:
>>
>>>
>>> Hi,
>>>
>>> I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
>>> getting the following exception in my HMaster logs when trying to start
>>> HBase:
>>>
>>> java.io.IOException: failed on local exception: java.io.EOFException
>>>
>>> This is causing my HMaster thread to abort and I am getting
>>> MasterNotRunningException when trying to run any commands in Hbase
>>> shell.
>>>
>>> I am new to Hbase, Please help !! Thanks!!
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
>>> Sent from the HBase User mailing list archive at Nabble.com.
>>>
>
>
>
--
View this message in context: http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32769931.html
Sent from the HBase User mailing list archive at Nabble.com.
Re: Getting EOF Exception when starting HBASE
Posted by Harsh J <ha...@cloudera.com>.
Also, Apache Hadoop 0.20.203 isn't a Hadoop version you'd want to use HBase with in production (lacks 0.20-append branch features). The book link provided by J-D covers the recommendations.
On 02-Nov-2011, at 11:42 PM, Jack Levin wrote:
> You likely have hadoop-core in hbase/lib dir that's wrong, delete it, and copy one from Hadoop/ dir
>
> -Jack
>
>
> On Nov 2, 2011, at 10:14 AM, LoveIR <sh...@gmail.com> wrote:
>
>>
>> Hi,
>>
>> I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
>> getting the following exception in my HMaster logs when trying to start
>> HBase:
>>
>> java.io.IOException: failed on local exception: java.io.EOFException
>>
>> This is causing my HMaster thread to abort and I am getting
>> MasterNotRunningException when trying to run any commands in Hbase shell.
>>
>> I am new to Hbase, Please help !! Thanks!!
>> --
>> View this message in context: http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
>> Sent from the HBase User mailing list archive at Nabble.com.
>>
Re: Getting EOF Exception when starting HBASE
Posted by Jack Levin <ma...@gmail.com>.
You likely have hadoop-core in hbase/lib dir that's wrong, delete it, and copy one from Hadoop/ dir
-Jack
On Nov 2, 2011, at 10:14 AM, LoveIR <sh...@gmail.com> wrote:
>
> Hi,
>
> I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
> getting the following exception in my HMaster logs when trying to start
> HBase:
>
> java.io.IOException: failed on local exception: java.io.EOFException
>
> This is causing my HMaster thread to abort and I am getting
> MasterNotRunningException when trying to run any commands in Hbase shell.
>
> I am new to Hbase, Please help !! Thanks!!
> --
> View this message in context: http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
Re: Getting EOF Exception when starting HBASE
Posted by Dejan Menges <de...@gmail.com>.
Which type of installation are you using - distributed or pseudo
distributed?
Can you send us the output of 'jps' from server which should host HMaster,
and as well fractions from log?
Tnx,
Dejo
On Wed, Nov 2, 2011 at 6:14 PM, LoveIR <sh...@gmail.com> wrote:
>
> Hi,
>
> I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
> getting the following exception in my HMaster logs when trying to start
> HBase:
>
> java.io.IOException: failed on local exception: java.io.EOFException
>
> This is causing my HMaster thread to abort and I am getting
> MasterNotRunningException when trying to run any commands in Hbase shell.
>
> I am new to Hbase, Please help !! Thanks!!
> --
> View this message in context:
> http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
>
Re: Getting EOF Exception when starting HBASE
Posted by Jean-Daniel Cryans <jd...@apache.org>.
Without more info about your setup or logs, I would guess that you
forgot to replace the hadoop jar in hbase's lib folder per this
documentation: http://hbase.apache.org/book/hadoop.html
J-D
On Wed, Nov 2, 2011 at 5:14 PM, LoveIR <sh...@gmail.com> wrote:
>
> Hi,
>
> I am using Hbase 0.90.4 version and my Hadoop version is 0.20.203. I am
> getting the following exception in my HMaster logs when trying to start
> HBase:
>
> java.io.IOException: failed on local exception: java.io.EOFException
>
> This is causing my HMaster thread to abort and I am getting
> MasterNotRunningException when trying to run any commands in Hbase shell.
>
> I am new to Hbase, Please help !! Thanks!!
> --
> View this message in context: http://old.nabble.com/Getting-EOF-Exception-when-starting-HBASE-tp32767304p32767304.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
>