HDFS-6448. BlockReaderLocalLegacy should set socket timeout based on conf.socketTimeout (liangxie via cmccabe)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1598079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e976652a6e
commit
cfd8647d0f
@ -601,6 +601,9 @@ Release 2.5.0 - UNRELEASED
|
|||||||
HDFS-6442. Fix TestEditLogAutoroll and TestStandbyCheckpoints failure
|
HDFS-6442. Fix TestEditLogAutoroll and TestStandbyCheckpoints failure
|
||||||
caused by port conficts. (Zesheng Wu via Arpit Agarwal)
|
caused by port conficts. (Zesheng Wu via Arpit Agarwal)
|
||||||
|
|
||||||
|
HDFS-6448. BlockReaderLocalLegacy should set socket timeout based on
|
||||||
|
conf.socketTimeout (liangxie via cmccabe)
|
||||||
|
|
||||||
Release 2.4.1 - UNRELEASED
|
Release 2.4.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -187,7 +187,7 @@ static BlockReaderLocalLegacy newBlockReader(DFSClient.Conf conf,
|
|||||||
userGroupInformation = UserGroupInformation.getCurrentUser();
|
userGroupInformation = UserGroupInformation.getCurrentUser();
|
||||||
}
|
}
|
||||||
pathinfo = getBlockPathInfo(userGroupInformation, blk, node,
|
pathinfo = getBlockPathInfo(userGroupInformation, blk, node,
|
||||||
configuration, conf.hdfsTimeout, token,
|
configuration, conf.socketTimeout, token,
|
||||||
conf.connectToDnViaHostname);
|
conf.connectToDnViaHostname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user