hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hsieh <...@cloudera.com>
Subject Re: ANN: The first hbase 0.94.0 release candidate is available for download
Date Fri, 30 Mar 2012 15:38:07 GMT
I've gotten the a similar result wiht 0.94rc0 on top of something close to
hadoop 0.23.0.  However,  I've gotten something very close to the 0.92.1
release up and running against at hadoop hdfs 0.23.0.

How do you link in hadoop 0.23.x? Like with 0.92.1 on hadoop 0.23.0, I've
removed the hadoop-core-1.0.0 from the rc lib dir and linked in a handful
of jars from hadoop/share/hadoop/hdfs/hadoop*,
hadoop/share/hadoop/admin/hadoop*, and hadoop/share/hadoop/common/hadoop*.


I have nothing conclusive yet, but am digging.  More details below.

----

The Safemode code in hbase was in 0.92.0 and last changed 5 months ago.

https://github.com/apache/hbase/commit/1bd11ced54c6a3f5995ddb90768436cf0e79a3ea#L1L456

The class in hadoop seems deprecated backwards compat shim (HDFS-2412):
https://github.com/apache/hadoop-common/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSConstants.java

But inherits from here which has the constant:

https://github.com/apache/hadoop-common/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java#L75

(which means with the 0.92.1/0.23.0 combo either it just works either never
exercised).

Jon.

On Fri, Mar 30, 2012 at 6:03 AM, Ramkrishna.S.Vasudevan <
ramkrishna.vasudevan@huawei.com> wrote:

> Hi
>
> When we tried to start the 0.94 version with hadoop 0.23.1 we got the
> following exception stack trace.. Even 0.92.2 snapshot also had the same
> problem.
>
> 2012-03-30 11:12:19,487 FATAL org.apache.hadoop.hbase.master.HMaster:
> Unhandled exception. Starting shutdown.
> java.lang.NoClassDefFoundError:
> org/apache/hadoop/hdfs/protocol/FSConstants$SafeModeAction
>        at
> org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:524)
>        at
>
> org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSyste
> m.java:324)
>        at
>
> org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayou
> t(MasterFileSystem.java:127)
>        at
>
> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java
> :112)
>        at
>
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:496
> )
>        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:363)
>        at java.lang.Thread.run(Thread.java:662)
> Kristam Subba Swathi 00902724(k00902724) 2012-03-30 11:34:41
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.hdfs.protocol.FSConstants$SafeModeAction
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>        ... 7 more
>
> I tried to build a jar with profile as 23 but still could not resolve this.
> Am I doing some mistake with this?
>
> Regards
> Ram
>
> > -----Original Message-----
> > From: Todd Lipcon [mailto:todd@cloudera.com]
> > Sent: Thursday, March 29, 2012 9:27 PM
> > To: dev@hbase.apache.org
> > Cc: lars hofhansl
> > Subject: Re: ANN: The first hbase 0.94.0 release candidate is available
> > for download
> >
> > To be clear, a rolling restart from 90 to 94 isn't expected to work.
> > But a shutdown and restart ought to. (If not, like Jon said, we'll be
> > fixing it)
> >
> > -Todd
> >
> > On Wed, Mar 28, 2012 at 10:04 PM, Ramkrishna.S.Vasudevan
> > <ramkrishna.vasudevan@huawei.com> wrote:
> > > Thanks Lars and Jon.
> > >
> > > I too expect the same to work.  I will try testing it that way.
> > >
> > > Regards
> > > Ram
> > >
> > >> -----Original Message-----
> > >> From: lars hofhansl [mailto:lhofhansl@yahoo.com]
> > >> Sent: Thursday, March 29, 2012 10:27 AM
> > >> To: dev@hbase.apache.org
> > >> Subject: Re: ANN: The first hbase 0.94.0 release candidate is
> > available
> > >> for download
> > >>
> > >> I am not aware of anything that was removed from 0.94 that would
> > >> prevent that.
> > >> So to the extent that 0.90 can be upgraded in place to 0.92 it
> > should
> > >> be possible to upgrade in 0.90 in place to 0.94.
> > >>
> > >> -- Lars
> > >>
> > >>
> > >>
> > >> ----- Original Message -----
> > >> From: Ramkrishna.S.Vasudevan <ramkrishna.vasudevan@huawei.com>
> > >> To: dev@hbase.apache.org
> > >> Cc:
> > >> Sent: Wednesday, March 28, 2012 9:44 PM
> > >> Subject: RE: ANN: The first hbase 0.94.0 release candidate is
> > available
> > >> for download
> > >>
> > >> Is it possible to upgrade from 0.90 to 0.94? Or should I upgrade to
> > >> 0.92 and
> > >> then only do a rolling restart to 0.94?
> > >>
> > >> Regards
> > >> Ram
> > >>
> > >> > -----Original Message-----
> > >> > From: yuzhihong@gmail.com [mailto:yuzhihong@gmail.com]
> > >> > Sent: Thursday, March 29, 2012 9:50 AM
> > >> > To: dev@hbase.apache.org
> > >> > Cc: dev@hbase.apache.org
> > >> > Subject: Re: ANN: The first hbase 0.94.0 release candidate is
> > >> available
> > >> > for download
> > >> >
> > >> > I only used 0.94 for 20 minutes :-)
> > >> >
> > >> > It worked during that time. So yes to all questions.
> > >> >
> > >> >
> > >> >
> > >> > On Mar 28, 2012, at 9:14 PM, Stack <stack@duboce.net> wrote:
> > >> >
> > >> > > Is it working for you Ted?  You going to +1 it?  You running
on
> > >> > hadoop 0.22?
> > >> > > St.Ack
> > >> > >
> > >> > > On Wed, Mar 28, 2012 at 6:28 PM, Ted Yu <yuzhihong@gmail.com>
> > >> wrote:
> > >> > >> The second scenario.
> > >> > >>
> > >> > >> Thanks
> > >> > >>
> > >> > >> On Wed, Mar 28, 2012 at 6:26 PM, lars hofhansl
> > >> <lhofhansl@yahoo.com>
> > >> > wrote:
> > >> > >>
> > >> > >>> HBASE-5258 is not in 0.94. Did you mean a different one?
> > >> > >>>
> > >> > >>> Or are you saying that you deployed HBASE-5258 locally
to your
> > >> 0.92
> > >> > >>> version, and that that was the reason you could not test
> > rolling
> > >> > upgrade to
> > >> > >>> 0.94?
> > >> > >>>
> > >> > >>> Thanks.
> > >> > >>>
> > >> > >>> -- Lars
> > >> > >>>
> > >> > >>>
> > >> > >>>
> > >> > >>> ________________________________
> > >> > >>>  From: Ted Yu <yuzhihong@gmail.com>
> > >> > >>> To: dev@hbase.apache.org
> > >> > >>> Sent: Wednesday, March 28, 2012 5:11 PM
> > >> > >>> Subject: Re: ANN: The first hbase 0.94.0 release candidate
is
> > >> > available
> > >> > >>> for download
> > >> > >>>
> > >> > >>> The change was for HBASE-5258
> > >> > >>>
> > >> > >>> Incompatibility was expected.
> > >> > >>>
> > >> > >>> Thanks
> > >> > >>>
> > >> > >>> On Wed, Mar 28, 2012 at 5:01 PM, Stack <stack@duboce.net>
> > wrote:
> > >> > >>>
> > >> > >>>> On Wed, Mar 28, 2012 at 3:54 PM, Ted Yu <yuzhihong@gmail.com>
> > >> > wrote:
> > >> > >>>>> I planned to perform rolling restart from (our
variant of)
> > 0.92
> > >> > to
> > >> > >>> 0.94.0
> > >> > >>>>> but found out that some internal changes prevented
region
> > >> server
> > >> > to
> > >> > >>> talk
> > >> > >>>> to
> > >> > >>>>> 0.94.0 master.
> > >> > >>>>
> > >> > >>>> What changes?  Do you have logs from that time?
> > >> > >>>> St.Ack
> > >> > >>>>
> > >> > >>>
> > >
> >
> >
> >
> > --
> > Todd Lipcon
> > Software Engineer, Cloudera
>
>


-- 
// Jonathan Hsieh (shay)
// Software Engineer, Cloudera
// jon@cloudera.com

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