HADOOP-9121. InodeTree.java has redundant check for vName while throwing exception. Contributed by Arup Malakar.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1418005 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commita5331eeead
) (cherry picked from commitfca24fbbaa
)
This commit is contained in:
parent
60611c9c75
commit
2cb1fd3bd3
|
@ -1115,6 +1115,9 @@ Release 2.7.3 - UNRELEASED
|
|||
HADOOP-8818. Use equals instead == in MD5MD5CRC32FileChecksum
|
||||
and TFileDumper. (Brandon Li via suresh)
|
||||
|
||||
HADOOP-9121. InodeTree.java has redundant check for vName while
|
||||
throwing exception. (Arup Malakar via suresh)
|
||||
|
||||
Release 2.7.2 - 2016-01-25
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -118,8 +118,7 @@ abstract class InodeTree<T> {
|
|||
return result;
|
||||
}
|
||||
|
||||
INode<T> resolveInternal(final String pathComponent)
|
||||
throws FileNotFoundException {
|
||||
INode<T> resolveInternal(final String pathComponent) {
|
||||
return children.get(pathComponent);
|
||||
}
|
||||
|
||||
|
@ -336,8 +335,8 @@ abstract class InodeTree<T> {
|
|||
}
|
||||
if (!gotMountTableEntry) {
|
||||
throw new IOException(
|
||||
"ViewFs: Cannot initialize: Empty Mount table in config for " +
|
||||
vName == null ? "viewfs:///" : ("viewfs://" + vName + "/"));
|
||||
"ViewFs: Cannot initialize: Empty Mount table in config for " +
|
||||
"viewfs://" + vName + "/");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue