Merge -r 1368732:1368733 from trunk to branch. FIXES: HDFS-3756
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1368735 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7545f076e
commit
99050a6508
|
@ -397,6 +397,9 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
HDFS-3738. TestDFSClientRetries#testFailuresArePerOperation sets incorrect
|
||||
timeout config. (atm)
|
||||
|
||||
HDFS-3756. DelegationTokenFetcher creates 2 HTTP connections, the second
|
||||
one not properly configured. (tucu)
|
||||
|
||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||
|
||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||
|
|
|
@ -251,7 +251,6 @@ public class DelegationTokenFetcher {
|
|||
try {
|
||||
URL url = new URL(buf.toString());
|
||||
connection = (HttpURLConnection) SecurityUtil.openSecureHttpConnection(url);
|
||||
connection = (HttpURLConnection)URLUtils.openConnection(url);
|
||||
if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) {
|
||||
throw new IOException("Error renewing token: " +
|
||||
connection.getResponseMessage());
|
||||
|
|
Loading…
Reference in New Issue