HDFS-3879. Fix findbugs warning in TransferFsImage on branch-2. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1379651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
89efe23ef2
commit
f0f25c6c04
|
@ -537,6 +537,8 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
|
||||
HDFS-3466. Get HTTP kerberos principal from the web authentication keytab.
|
||||
(omalley)
|
||||
|
||||
HDFS-3879. Fix findbugs warning in TransferFsImage on branch-2. (eli)
|
||||
|
||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||
|
||||
|
|
|
@ -205,7 +205,6 @@ public class TransferFsImage {
|
|||
static MD5Hash getFileClient(String nnHostPort,
|
||||
String queryString, List<File> localPaths,
|
||||
Storage dstStorage, boolean getChecksum) throws IOException {
|
||||
byte[] buf = new byte[HdfsConstants.IO_FILE_BUFFER_SIZE];
|
||||
|
||||
String str = HttpConfig.getSchemePrefix() + nnHostPort + "/getimage?" +
|
||||
queryString;
|
||||
|
|
Loading…
Reference in New Issue