Arup Malakar created HDFS-4280:
----------------------------------

             Summary: InodeTree.java has redundant check for vName while 
throwing exception
                 Key: HDFS-4280
                 URL: https://issues.apache.org/jira/browse/HDFS-4280
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Arup Malakar
            Priority: Trivial


{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