hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@apache.org
Subject hadoop git commit: HDFS-10841. Remove duplicate or unused variable in appendFile(). Contributed by Kihwal Lee.
Date Tue, 06 Sep 2016 18:58:52 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 56340ac02 -> e84b5c5e3


HDFS-10841. Remove duplicate or unused variable in appendFile(). Contributed by Kihwal Lee.

(cherry picked from commit f6c0b7543f612de756ff0c03e9a2c6e33b496a36)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java

(cherry picked from commit 3025992bd358518349c1f80d03adecabe0ac386e)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e84b5c5e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e84b5c5e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e84b5c5e

Branch: refs/heads/branch-2.8
Commit: e84b5c5e3e86be71324e21f8a7f1ed376ed8710e
Parents: 56340ac
Author: Xiao Chen <xiao@apache.org>
Authored: Tue Sep 6 11:48:35 2016 -0700
Committer: Xiao Chen <xiao@apache.org>
Committed: Tue Sep 6 11:54:02 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e84b5c5e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java
index 07b2a25..80203f1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAppendOp.java
@@ -84,12 +84,10 @@ final class FSDirAppendOp {
 
     final LocatedBlock lb;
     final FSDirectory fsd = fsn.getFSDirectory();
-    final String src;
     final INodesInPath iip;
     fsd.writeLock();
     try {
       iip = fsd.resolvePathForWrite(pc, srcArg);
-      src = iip.getPath();
       // Verify that the destination does not exist as a directory already
       final INode inode = iip.getLastINode();
       final String path = iip.getPath();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message