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

Suresh Srinivas updated HADOOP-9121:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

+1. I committed the patch to trunk. Thank you Arup.
                
> 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
>             Fix For: 3.0.0
>
>         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

Reply via email to