You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2008/08/22 08:32:44 UTC

[jira] Commented: (HADOOP-3997) dfs client throws java.lang.StackOverflowError in a corner case.

    [ https://issues.apache.org/jira/browse/HADOOP-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624592#action_12624592 ] 

Vinod Kumar Vavilapalli commented on HADOOP-3997:
-------------------------------------------------

This is a pretty corner case, and I stumbled on it accidentally.

When fs.default.name is set to "localhost.localdomain/127.0.0.1:55068", dfs client bails out with this exception. This is definitely a very improper value, but the behaviour sure can be better.

$ hadoop dfs -ls
Exception in thread "main" java.lang.StackOverflowError
        at java.net.URI$Parser.checkChars(URI.java:2980)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3024)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URI.create(URI.java:840)
        at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:126)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:118)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:202)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:118)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:202)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:202)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:118)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:202)


> dfs client throws java.lang.StackOverflowError in a corner case.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3997
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3997
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Vinod Kumar Vavilapalli
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.