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:
Eli Collins 2012-08-31 22:39:52 +00:00
parent 89efe23ef2
commit f0f25c6c04
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;