FAQ
[ https://issues.apache.org/jira/browse/HADOOP-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J resolved HADOOP-1769.
-----------------------------

Resolution: Cannot Reproduce

Doesn't look like its a problem anymore.

Here's a simple test to guarantee (there may already exist something like this, but I did not look)

{code}

public void testStack() throws IOException, URISyntaxException {
Configuration conf = new Configuration();
String url = "/";
URI uri = new URI(url);
assertEquals(null, uri.getScheme());
FileSystem fs = FileSystem.get(uri, conf);
}

{code}

Marking as 'Cannot Reproduce' (now).
Possible StackOverflowError in FileSystem.get(Uri uri, Configuration conf) method
---------------------------------------------------------------------------------

Key: HADOOP-1769
URL: https://issues.apache.org/jira/browse/HADOOP-1769
Project: Hadoop Common
Issue Type: Bug
Components: fs
Affects Versions: 0.14.0
Reporter: Thomas Friol

When calling the method Filesytem.get(Uri uri, Configuration conf) with an URI without scheme -> StackOverflowError
{noformat}
Exception in thread "Main Thread" java.lang.StackOverflowError:
at java.util.regex.Matcher.<init>(Matcher.java:201)
at java.util.regex.Pattern.matcher(Pattern.java:879)
at org.apache.hadoop.conf.Configuration.substituteVars(Configuration.java:182)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:247)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:143)
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJul 17, '11 at 11:53a
activeJul 17, '11 at 11:53a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Harsh J (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase