[
https://issues.apache.org/jira/browse/HADOOP-9121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira AJISAKA updated HADOOP-9121:
----------------------------------
Priority: Major (was: Trivial)
Issue Type: Bug (was: Improvement)
Cherry-picked this to branch-2, branch-2.8, and branch-2.7 to fix HADOOP-12843.
> 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: Bug
> Components: fs
> Reporter: Arup Malakar
> Assignee: Arup Malakar
> Fix For: 2.8.0, 2.7.3
>
> 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)