You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Demai Ni (JIRA)" <ji...@apache.org> on 2014/06/11 17:28:02 UTC

[jira] [Created] (HBASE-11327) ExportSnapshot hit stackoverflow error when target snapshotDir doesn't contain uri

Demai Ni created HBASE-11327:
--------------------------------

             Summary: 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


{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)