hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11409) FileContext.getFileContext can stack overflow if default fs misconfigured
Date Fri, 19 Dec 2014 14:38:14 GMT

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

Hudson commented on HADOOP-11409:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #43 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/43/])
HADOOP-11409. FileContext.getFileContext can stack overflow if default fs misconfigured. Contributed
by Gera Shegalov (jlowe: rev b9d49761f72078a0a83137ba8197d08b71f385e0)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileContext.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> FileContext.getFileContext can stack overflow if default fs misconfigured
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-11409
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11409
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Jason Lowe
>            Assignee: Gera Shegalov
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11409.001.patch, HADOOP-11409.002.patch
>
>
> If the default filesystem is misconfigured such that it doesn't have a scheme then FileContext.getFileContext(URI,
Configuration) will call FileContext.getFileContext(Configuration) which in turn calls the
former and we loop until the stack explodes.



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

Mime
View raw message