hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11409) FileContext.getFileContext can stack overflow if default fs misconfigured
Date Wed, 17 Dec 2014 22:13:13 GMT

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

Gera Shegalov updated HADOOP-11409:
-----------------------------------
    Attachment: HADOOP-11409.002.patch

Thanks for review, Jason! 002 to accommodate for your comments. In addition I made the UNFsE
message in AbstractFileSystem more descriptive.

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