Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D66D5983E for ; Fri, 30 Mar 2012 15:39:07 +0000 (UTC) Received: (qmail 98846 invoked by uid 500); 30 Mar 2012 15:39:07 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 98804 invoked by uid 500); 30 Mar 2012 15:39:07 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 98796 invoked by uid 99); 30 Mar 2012 15:39:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 15:39:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jon@cloudera.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 15:39:03 +0000 Received: by werj55 with SMTP id j55so606252wer.14 for ; Fri, 30 Mar 2012 08:38:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:x-gm-message-state:content-type; bh=HNz5UiTeacJx22Bj2lTBwjmLWnRvVRAP4eiQwk4znVY=; b=aMIg5i+cdwudKdA816jrluPYjYoUyb8MgFVRaUh2UcQukyQHH5lVN3iRo67zH2pSn4 E5xOAy3t/Z0eW1hcXahNq6GEQvw+Jpgwpn+43uxS+xbim7rVyF4LV0ZJU5P3ERl6qbmU gkfor1MhyG+H+tS4ByNi3pOdYVcGJ4yarTfYOuF+tmnhgxr+kBhwwMa6+cn+9+mjmmPF shkZpvrX9LgdNVfBCIT4EjEcj8jw4kuXf81uC5ZhXX5RHUNkeA/L1yF8hywW0UnqQ7uD nLlCvJGixicHk2lWx5rb9taAjG1o+AgYL5olGZq5M/9twQrpyhjzdcEIIV0kskEmLbRR t5+w== Received: by 10.180.95.129 with SMTP id dk1mr8817377wib.3.1333121914698; Fri, 30 Mar 2012 08:38:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.6.194 with HTTP; Fri, 30 Mar 2012 08:38:07 -0700 (PDT) In-Reply-To: <004901cd0e75$7d407070$77c15150$%vasudevan@huawei.com> References: <1332916103.54372.YahooMailNeo@web121706.mail.ne1.yahoo.com> <1332984363.16930.YahooMailNeo@web121704.mail.ne1.yahoo.com> <639ACD61-5F1C-47C6-A17E-D514930E0538@gmail.com> <010a01cd0d66$9b584110$d208c330$%vasudevan@huawei.com> <1332997020.78484.YahooMailNeo@web121705.mail.ne1.yahoo.com> <012701cd0d69$652345b0$2f69d110$%vasudevan@huawei.com> <004901cd0e75$7d407070$77c15150$%vasudevan@huawei.com> From: Jonathan Hsieh Date: Fri, 30 Mar 2012 08:38:07 -0700 Message-ID: Subject: Re: ANN: The first hbase 0.94.0 release candidate is available for download To: dev@hbase.apache.org Cc: lars hofhansl X-Gm-Message-State: ALoCoQnwZ79L5jK4fCJRB1iG/rKqqXascezq6JAHvYSfihE98VIxjhNQIO2RBRG6vNgZNk2QmRBH Content-Type: multipart/alternative; boundary=f46d0444ee2d2afa2404bc77a231 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0444ee2d2afa2404bc77a231 Content-Type: text/plain; charset=ISO-8859-1 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.(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 > > 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 > > >> 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 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 > > >> wrote: > > >> > >> The second scenario. > > >> > >> > > >> > >> Thanks > > >> > >> > > >> > >> On Wed, Mar 28, 2012 at 6:26 PM, lars hofhansl > > >> > > >> > 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 > > >> > >>> 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 > > wrote: > > >> > >>> > > >> > >>>> On Wed, Mar 28, 2012 at 3:54 PM, Ted Yu > > >> > 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 --f46d0444ee2d2afa2404bc77a231--