Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CC8B18E26 for ; Wed, 2 Dec 2015 21:03:35 +0000 (UTC) Received: (qmail 46222 invoked by uid 500); 2 Dec 2015 21:03:33 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 46158 invoked by uid 500); 2 Dec 2015 21:03:33 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 46146 invoked by uid 99); 2 Dec 2015 21:03:33 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2015 21:03:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 05B25C059B for ; Wed, 2 Dec 2015 21:03:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.881 X-Spam-Level: ** X-Spam-Status: No, score=2.881 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=esgyn.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id HdvdUSi1xpuZ for ; Wed, 2 Dec 2015 21:03:28 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id BA95320267 for ; Wed, 2 Dec 2015 21:03:27 +0000 (UTC) Received: by oige206 with SMTP id e206so33492850oig.2 for ; Wed, 02 Dec 2015 13:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=esgyn.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=E9EZZOF+VYTKmIY+6RPytgGUW4rpi53qm90E/if+8ks=; b=HJuCv5p47U1ii3q178LeGiJZSnbE7kLt4Bv6KI5mBK67fR923ZdYMc9sSBDvIEB1vk w9D3oZuJ1Mocp31QB6iQWME+xLfNtKseB4meMvcAYGPn/1cdX2iYgB7Ug9tDV/oU43FQ Xps8OVUP8gBF7NQO3fPExgK4LUFambUx2teeg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=E9EZZOF+VYTKmIY+6RPytgGUW4rpi53qm90E/if+8ks=; b=dF0eHmsdw9h5YfssJe9TfJ64RAv7IeOKG+wwVDesncTfH9yC5ek91Q0jpIolEWRM36 PDtWyQIu++1CGIooSypXAWx83/AS71txSkKmcy8vAe/i9e1rFtZS1zmLXLVrg6YyuSEr BE5JjPomCy1KEilr2r/fgcHfCaDDwicb9/dHyS7lpm9fcAi+VjBFuBAAopXNIE/d2IlZ /dWnY1HMW6YaodcHv9nYPtJyAq9aDzhWAsvKxBCi0ia6NN521lLBMDXiRyA5s1XQt7Qz /OCsYKyQILSJmEG+hEOxyVwarmnC8L5JGqmrevoyfE352LW+cisgi8vynrv9bJll9f6s C7Bw== X-Gm-Message-State: ALoCoQk2ZQAeuHq/uF+XjZrs7yoWmv1/XkQtlAbt13C7hDjZmWUbvvchP7UGnKhLbyGlF7pb/r1f MIME-Version: 1.0 X-Received: by 10.202.186.198 with SMTP id k189mr4507883oif.105.1449090201501; Wed, 02 Dec 2015 13:03:21 -0800 (PST) Received: by 10.202.170.208 with HTTP; Wed, 2 Dec 2015 13:03:21 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Dec 2015 13:03:21 -0800 Message-ID: Subject: Re: Issues with HBase Regions in Transition From: Amanda Moran To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a113cd2b0b550370525f09a51 --001a113cd2b0b550370525f09a51 Content-Type: text/plain; charset=UTF-8 Hi there Ted- Thanks for the info. Very interesting...I will be trying this for sure. Thanks alot, great information. Amanda On Wed, Dec 2, 2015 at 12:57 PM, Ted Yu wrote: > From log snippet: > > Class > org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegion > not found > > I assume the above class is in the trafodion jar (just a guess) > This can explain why regions would be stuck in transition. > > For upgrade, consider replacing the trafodion jar instead of removing it. > > Cheers > > On Wed, Dec 2, 2015 at 12:51 PM, Amanda Moran > wrote: > > > Hi there Ted- > > > > Thanks for response. Update: I copied my trafodion.jar files back to > > ../hbase/lib , did a restart and then hbase is back online... I then > > removed them again (just to make sure) did a restart .. and then its back > > in the region in transition. Seems like we should be able to remove our > > files and do a restart and have hbase be back online... Is this > incorrect? > > > > Log snippet: > > > > 2015-12-02 19:48:41,614 ERROR > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Failed > open > > of region=hbase:meta,,1.1588230740, starting to roll back the global > > memstore size. > > java.lang.IllegalStateException: Could not instantiate a region instance. > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5486) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5793) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5765) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5721) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5672) > > at > > > > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:356) > > at > > > > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:126) > > at > > org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128) > > at > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > at java.lang.Thread.run(Thread.java:745) > > Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: > > Class > > org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegion > not > > found > > at > > org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2112) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5475) > > ... 10 more > > Caused by: java.lang.ClassNotFoundException: Class > > org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegion > not > > found > > at > > > > > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2018) > > at > > org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2110) > > ... 11 more > > 2015-12-02 19:48:41,627 INFO > > org.apache.hadoop.hbase.coordination.ZkOpenRegionCoordination: Opening of > > region {ENCODED => 1588230740, NAME => 'hbase:meta,,1', STARTKEY => '', > > ENDKEY => ''} failed, transitioning from OPENING to FAILED_OPEN in ZK, > > expecting version 4 > > 2015-12-02 19:48:41,673 INFO > > org.apache.hadoop.hbase.regionserver.RSRpcServices: Open > > hbase:meta,,1.1588230740 > > 2015-12-02 19:48:41,679 ERROR > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Failed > open > > of region=hbase:meta,,1.1588230740, starting to roll back the global > > memstore size. > > java.lang.IllegalStateException: Could not instantiate a region instance. > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5486) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5793) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5765) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5721) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:5672) > > at > > > > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:356) > > at > > > > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:126) > > at > > org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128) > > at > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > at java.lang.Thread.run(Thread.java:745) > > Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: > > Class > > org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegion > not > > found > > at > > org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2112) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5475) > > ... 10 more > > Caused by: java.lang.ClassNotFoundException: Class > > org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegion > not > > found > > at > > > > > org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2018) > > at > > org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2110) > > ... 11 more > > > > > > Let me know if you need more from the logs. > > > > THANKS! > > > > On Wed, Dec 2, 2015 at 12:37 PM, Ted Yu wrote: > > > > > Do you mind pastebin snippet of region server log where the region > stuck > > in > > > transition was hosted ? > > > > > > This would give us some clue. > > > > > > Cheers > > > > > > On Wed, Dec 2, 2015 at 12:14 PM, Amanda Moran > > > wrote: > > > > > > > Hi there All- > > > > > > > > I apologize if this issue has been raised before... I have done ALOT > of > > > > googling on this issues... and finally decided to just write here to > > the > > > > source :) > > > > > > > > Background: > > > > > > > > I work on the incubating Apache Trafodion project. > > > > > > > > I am currently using HBase 1.0 with Cloudera 5.4.5. > > > > > > > > I have tried many times to upgrade my cloudera cluster (to get the > > latest > > > > version of HBase) and have always failed due to my HBase master > failing > > > to > > > > come backup do to a Region suck in Transition. It is always the > > > hbase:meta. > > > > > > > > In the past I just assumed that the upgrade feature just didn't > > actually > > > > work... and so even though frustrating... I just let it go. > > > > > > > > But now I have come across this issue again, in a slightly different > > > way... > > > > and this makes me think it is an HBase problem. > > > > > > > > I am preparing for an upgrade, and because of this I decided to > remove > > > the > > > > "Trafodion".jar files that are located in the ../hbase/lib > directory. I > > > > thought this might be the cause of not being able to upgrade, > because I > > > was > > > > leaving the trafodion files in this directory. I removed them, then > > did a > > > > deploy client config (since some configs were stale), and then did a > > > > restart. Now I have a region stuck in transition, even before the > > > upgrade! > > > > > > > > Everything I have seen on the web, has not worked in the past. How > do I > > > get > > > > pass this issue? Do I have no choice but to do a full > > uninstall/reinstall > > > > and lose my data? > > > > > > > > Thanks all for any help! > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Amanda Moran > > > > > > > > > > > > > > > -- > > Thanks, > > > > Amanda Moran > > > -- Thanks, Amanda Moran --001a113cd2b0b550370525f09a51--