[ 
https://issues.apache.org/jira/browse/HADOOP-9121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526404#comment-13526404
 ] 

Hudson commented on HADOOP-9121:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1278 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1278/])
    HADOOP-9121. InodeTree.java has redundant check for vName while throwing 
exception. Contributed by Arup Malakar. (Revision 1418005)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1418005
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java

                
> 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
>            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