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

Allen Wittenauer updated HADOOP-9121:
-------------------------------------
    Assignee: Arup Malakar

> 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
>          Components: fs
>            Reporter: Arup Malakar
>            Assignee: Arup Malakar
>            Priority: Trivial
>             Fix For: 3.0.0
>
>         Attachments: HDFS-4280_trunk.patch, HDFS-4280_trunk_1.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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to