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-13140) FileSystem#initialize must not attempt to create StorageStatistics objects with null or empty schemes
Date Wed, 18 May 2016 16:51:13 GMT

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

Hudson commented on HADOOP-13140:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #9813 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9813/])
HADOOP-13140. FileSystem#initialize must not attempt to create (cmccabe: rev f2c1d9181f80e53890b50309b15c9ea37cb24987)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/GlobalStorageStatistics.java


> FileSystem#initialize must not attempt to create StorageStatistics objects with null
or empty schemes
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13140
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13140
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.8.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Mingliang Liu
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-13140.000.patch, HADOOP-13140.001.patch, HADOOP-13140.002.patch
>
>
> {{org.apache.hadoop.fs.GlobalStorageStatistics#put}} is not checking the null scheme,
and the internal map will complain NPE. This was reported by a flaky test {{TestFileSystemApplicationHistoryStore}}.
Thanks [~brahmareddy] for reporting.
> To address this,
> # Fix the test by providing a valid URI, e.g. {{file:///}}
> # Guard the null scheme in {{GlobalStorageStatistics#put}}



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

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


Mime
View raw message