hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arup Malakar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4280) InodeTree.java has redundant check for vName while throwing exception
Date Wed, 05 Dec 2012 23:45:58 GMT
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

Mime
View raw message