hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13140) GlobalStorageStatistics should check null FileSystem scheme to avoid NPE
Date Thu, 12 May 2016 20:38:16 GMT

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

Mingliang Liu updated HADOOP-13140:
-----------------------------------
    Description: 
{{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}}

> GlobalStorageStatistics should check null FileSystem scheme to avoid NPE
> ------------------------------------------------------------------------
>
>                 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
>
> {{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