hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject hadoop git commit: HDFS-11403. Addendum fix for branch-2.
Date Sat, 11 Feb 2017 09:25:57 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 32a0c2b5e -> 4c5655ef1


HDFS-11403. Addendum fix for branch-2.


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

Branch: refs/heads/branch-2
Commit: 4c5655ef1a4adfeb30335378d49f18a8deddc9e4
Parents: 32a0c2b
Author: Arpit Agarwal <arp@apache.org>
Authored: Sat Feb 11 01:25:43 2017 -0800
Committer: Arpit Agarwal <arp@apache.org>
Committed: Sat Feb 11 01:25:43 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4c5655ef/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java
index db853f4..cbd610c 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java
@@ -1073,7 +1073,7 @@ public class ActiveStandbyElector implements StatCallback, StringCallback
{
 
   private void setAclsWithRetries(final String path)
       throws KeeperException, InterruptedException {
-    Stat stat = new Stat();
+    final Stat stat = new Stat();
     zkDoWithRetries(new ZKAction<Void>() {
       @Override
       public Void run() throws KeeperException, InterruptedException {


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