hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (HADOOP-12654) Add JavaDoc to FileSystem constructors
Date Thu, 17 Dec 2015 16:54:46 GMT

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

Chris Nauroth updated HADOOP-12654:
    Comment: was deleted

(was: Sorry, I did not know about FileSystem.get() and .getLocal(). Then the constructors'
JavaDoc should contain: "Don't call this directly, call FileSystem.get()/getLocal() instead.")

> Add JavaDoc to FileSystem constructors
> --------------------------------------
>                 Key: HADOOP-12654
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12654
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.7.1
>            Reporter: Dénes Harmath
>            Priority: Minor
> After calling the FileSystem constructor, the instance is not initialized yet, but FileSystem#initialize
has to be called, otherwise an NPE is thrown when using the instance. The constructor should
create a valid instance instead.

This message was sent by Atlassian JIRA

View raw message