You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2012/12/06 18:09:10 UTC

[jira] [Moved] (HADOOP-9121) InodeTree.java has redundant check for vName while throwing exception

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

Suresh Srinivas moved HDFS-4280 to HADOOP-9121:
-----------------------------------------------

        Key: HADOOP-9121  (was: HDFS-4280)
    Project: Hadoop Common  (was: Hadoop HDFS)
    
> InodeTree.java has redundant check for vName while throwing exception
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-9121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9121
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Arup Malakar
>            Priority: Trivial
>         Attachments: HDFS-4280_trunk_1.patch, HDFS-4280_trunk.patch
>
>
> {code}
> 337	    if (!gotMountTableEntry) {
> 338	      throw new IOException(
> 339	          "ViewFs: Cannot initialize: Empty Mount table in config for " + 
> 340	             vName == null ? "viewfs:///" : ("viewfs://" + vName + "/"));
> 341	    }
> {code}
> The vName is always non-null due to checks/assignments done prior to this code segment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira