hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xudong Du <andy2005...@gmail.com>
Subject Re: problem in configuring hbase with hdfs
Date Wed, 27 May 2009 17:13:34 GMT
i use
hadoop hadoop-0.19.1
hbase: hbase-0.19.2


On Wed, May 27, 2009 at 8:42 PM, Puri, Aseem <Aseem.Puri@honeywell.com>wrote:

> Andy,
>        It seems to be there is version mismatch. What Hadoop and HBase
> version you are using?
>
> Thanks & Regards
>
> Aseem Puri
>
> -----Original Message-----
> From: jdcryans@gmail.com [mailto:jdcryans@gmail.com] On Behalf Of
> Jean-Daniel Cryans
> Sent: Wednesday, May 27, 2009 5:32 PM
> To: hbase-user@hadoop.apache.org
> Cc: andy2005cst@gmail.com
> Subject: Re: problem in configuring hbase with hdfs
>
> Xudong Du,
>
> While I appreciate answering HBase questions, I prefer to do that on
> the HBase users mailing list for everyone's benefit.
>
> Your problem seems to be that the HDFS Namenode is running but you
> don't have any datanode, so the file was created in the namespace but
> you can't read it. Make sure your HDFS is ok before running HBase.
> BTW, that's the same resolution I gave later in the thread you pasted
> in your mail (March 18).
>
> I hope this solves your problem,
>
> J-D
>
> On Wed, May 27, 2009 at 12:29 AM, Xudong Du <andy2005cst@gmail.com> wrote:
> > J.D:
> >
> > Hi. I come across a problem the same as what is mentioned here:
> >
> http://mail-archives.apache.org/mod_mbox/hadoop-hbase-user/200903.mbox/%3C31a243e70903170456r7ad382c6j6c4624ccfc3333bc@mail.gmail.com%3E
> >
> > and i find out the log file, it showes below:
> >
> > 2009-05-27 11:21:55,824 FATAL org.apache.hadoop.hbase.
> > master.HMaster: Not starting HMaster because:
> > java.io.EOFException
> >         at
> > java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
> >         at java.io.DataInputStream.readUTF(DataInputStream.java:572)
> >         at
> org.apache.hadoop.hbase.util.FSUtils.getVersion(FSUtils.java:101)
> >         at
> > org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:120)
> >         at
> org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:212)
> >         at
> org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:156)
> >         at
> org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:156)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >         at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >         at
> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017)
> >         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1057)
> > 2009-05-27 11:21:55,825 ERROR org.apache.hadoop.hbase.master.HMaster: Can
> > not start master
> > java.lang.reflect.InvocationTargetException
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >         at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >         at
> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017)
> >         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1057)
> > Caused by: java.io.EOFException
> >         at
> > java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >         at
> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017)
> >         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1057)
> > 2009-05-27 11:21:55,825 ERROR org.apache.hadoop.hbase.master.HMaster: Can
> > not start master
> > java.lang.reflect.InvocationTargetException
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >         at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >         at
> org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1017)
> >         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1057)
> > Caused by: java.io.EOFException
> >         at
> > java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
> >         at java.io.DataInputStream.readUTF(DataInputStream.java:572)
> >         at
> org.apache.hadoop.hbase.util.FSUtils.getVersion(FSUtils.java:101)
> >         at
> > org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:120)
> >         at
> org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:212)
> >         at
> org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:156)
> >         ... 6 more
> >
> >
> > how to solve it? looking forward your reply.
> >
> >
> > Andy
> >
> > --
> > Yours Sincerely
> > Xudong Du
> > Zijing 2# 305A
> > Tsinghua University, Beijing, China, 100084
> >
>



-- 
Yours Sincerely
Xudong Du
Zijing 2# 305A
Tsinghua University, Beijing, China, 100084

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message