Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3279D11505 for ; Thu, 12 Jun 2014 11:39:03 +0000 (UTC) Received: (qmail 7732 invoked by uid 500); 12 Jun 2014 11:39:03 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 7683 invoked by uid 500); 12 Jun 2014 11:39:03 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 7672 invoked by uid 99); 12 Jun 2014 11:39:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 11:39:03 +0000 Date: Thu, 12 Jun 2014 11:39:02 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11327) ExportSnapshot hit stackoverflow error when target snapshotDir doesn't contain uri MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029060#comment-14029060 ] Hudson commented on HBASE-11327: -------------------------------- FAILURE: Integrated in HBase-TRUNK #5198 (See [https://builds.apache.org/job/HBase-TRUNK/5198/]) HBASE-11327 ExportSnapshot hit stackoverflow error when target snapshotDir doesn't contain uri (Demai Ni) (matteo.bertozzi: rev 95a7e72302b27aa09e13fef71e233f087334f3eb) * hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java > ExportSnapshot hit stackoverflow error when target snapshotDir doesn't contain uri > ---------------------------------------------------------------------------------- > > Key: HBASE-11327 > URL: https://issues.apache.org/jira/browse/HBASE-11327 > Project: HBase > Issue Type: Bug > Components: snapshots > Affects Versions: 0.98.2 > Reporter: Demai Ni > Assignee: Demai Ni > Priority: Minor > Fix For: 0.99.0, 0.98.4 > > Attachments: HBASE-11327-0.98-v0.patch, HBASE-11327-trunk-v0.patch > > > {code} > $hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot snapshotT1_dn -copy-to /user/demai/backup1 > Exception in thread "main" java.lang.StackOverflowError > at java.util.regex.Pattern$Slice.match(Pattern.java:3490) > at java.util.regex.Pattern$Start.match(Pattern.java:3066) > at java.util.regex.Matcher.search(Matcher.java:1116) > at java.util.regex.Matcher.find(Matcher.java:546) > at org.apache.hadoop.conf.Configuration.substituteVars(Configuration.java:681) > at org.apache.hadoop.conf.Configuration.get(Configuration.java:893) > at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:175) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:360) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:360) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:360) > {code} > the following command will work with uri > {code} > hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot snapshotT1_dn -copy-to hdfs://hdtest014.svl.ibm.com:9000/user/demai/backup2 > {code} > The bug is the same as [Hadoop-9069|https://issues.apache.org/jira/browse/HADOOP-9069]. Since the hadoop jira has been sitting there for more than a year, use this jira for a local hbase fix for now. > Many thanks for [~mbertozzi] help on this one. -- This message was sent by Atlassian JIRA (v6.2#6252)