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

Hudson commented on HADOOP-13792:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10772 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10772/])
HADOOP-13792. Stackoverflow for schemeless defaultFS with trailing (liuml07: 
rev abfc15d5ef966e99e8fe05d155ad2557e8cd67e8)
* (add) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDefaultUri.java
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java


> Stackoverflow for schemeless defaultFS with trailing slash
> ----------------------------------------------------------
>
>                 Key: HADOOP-13792
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13792
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.7.2
>            Reporter: Darius Murawski
>            Assignee: John Zhuge
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HADOOP-13792.001.patch, HADOOP-13792.002.patch, 
> HADOOP-13792.003.patch
>
>
> Command: hadoop fs -fs 172.16.12.79/ -mkdir -p /usr/hduser
> Results in a Stack Overflow
> {code}
> Exception in thread "main" java.lang.StackOverflowError
>       at java.lang.String.indexOf(String.java:1503)
>       at java.net.URI$Parser.scan(URI.java:2951)
>       at java.net.URI$Parser.parseHierarchical(URI.java:3104)
>       at java.net.URI$Parser.parse(URI.java:3063)
>       at java.net.URI.<init>(URI.java:588)
>       at java.net.URI.create(URI.java:850)
>       at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:180)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:172)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:357)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:172)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:357)
>         (...)
> {code}
> The Problem is the Slash at the End of the IP Address. When I remove it, the 
> command is executed correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to