Gera Shegalov created HADOOP-11618:
--------------------------------------
Summary: DelegateToFileSystem always uses default FS's default
port
Key: HADOOP-11618
URL: https://issues.apache.org/jira/browse/HADOOP-11618
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Gera Shegalov
DelegateToFileSystem constructor has the following code:
{code}
super(theUri, supportedScheme, authorityRequired,
FileSystem.getDefaultUri(conf).getPort());
{code}
The default port should be taken from theFsImpl instead.
{code}
super(theUri, supportedScheme, authorityRequired,
theFsImpl.getDefaultPort());
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)