[25/50] hadoop git commit: HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). Contributed by Vinayakumar B

2015-05-18 Thread zhz
HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). 
Contributed by Vinayakumar B


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

Branch: refs/heads/HDFS-7285
Commit: defc4a1256fc2959347a4fc226bee279630807ae
Parents: 051d439
Author: Uma Maheswara Rao G umamah...@apache.org
Authored: Tue May 5 19:25:21 2015 +0530
Committer: Zhe Zhang z...@apache.org
Committed: Mon May 18 10:01:51 2015 -0700

--
 hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt  | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/DFSClient.java   | 3 +++
 2 files changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/defc4a12/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
--
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
index ef760fc..a8df3f2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
@@ -169,3 +169,6 @@
 
 HDFS-8242. Erasure Coding: XML based end-to-end test for ECCli commands
 (Rakesh R via vinayakumarb)
+
+HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..) 
(vinayakumarb via 
+umamahesh)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/defc4a12/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
index 5fb23a0..63c27ef 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
@@ -3351,11 +3351,14 @@ public class DFSClient implements java.io.Closeable, 
RemotePeerFactory,
*/
   public ECZoneInfo getErasureCodingZoneInfo(String src) throws IOException {
 checkOpen();
+TraceScope scope = getPathTraceScope(getErasureCodingZoneInfo, src);
 try {
   return namenode.getErasureCodingZoneInfo(src);
 } catch (RemoteException re) {
   throw re.unwrapRemoteException(FileNotFoundException.class,
   AccessControlException.class, UnresolvedPathException.class);
+} finally {
+  scope.close();
 }
   }
 }



[28/50] hadoop git commit: HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). Contributed by Vinayakumar B

2015-05-18 Thread jing9
HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). 
Contributed by Vinayakumar B


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

Branch: refs/heads/HDFS-7285
Commit: 27dc8fcfd49b5d53a985682a953a5aa4659e952c
Parents: f76d0d6
Author: Uma Maheswara Rao G umamah...@apache.org
Authored: Tue May 5 19:25:21 2015 +0530
Committer: Jing Zhao ji...@apache.org
Committed: Mon May 18 22:11:08 2015 -0700

--
 hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt  | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/DFSClient.java   | 3 +++
 2 files changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/27dc8fcf/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
--
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
index ef760fc..a8df3f2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
@@ -169,3 +169,6 @@
 
 HDFS-8242. Erasure Coding: XML based end-to-end test for ECCli commands
 (Rakesh R via vinayakumarb)
+
+HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..) 
(vinayakumarb via 
+umamahesh)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/27dc8fcf/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
index 5fb23a0..63c27ef 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
@@ -3351,11 +3351,14 @@ public class DFSClient implements java.io.Closeable, 
RemotePeerFactory,
*/
   public ECZoneInfo getErasureCodingZoneInfo(String src) throws IOException {
 checkOpen();
+TraceScope scope = getPathTraceScope(getErasureCodingZoneInfo, src);
 try {
   return namenode.getErasureCodingZoneInfo(src);
 } catch (RemoteException re) {
   throw re.unwrapRemoteException(FileNotFoundException.class,
   AccessControlException.class, UnresolvedPathException.class);
+} finally {
+  scope.close();
 }
   }
 }



[28/50] hadoop git commit: HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). Contributed by Vinayakumar B

2015-05-16 Thread jing9
HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). 
Contributed by Vinayakumar B


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

Branch: refs/heads/HDFS-7285
Commit: 5e77bce424d6e2265dca948761f61f46d4b962d6
Parents: 9004be1
Author: Uma Maheswara Rao G umamah...@apache.org
Authored: Tue May 5 19:25:21 2015 +0530
Committer: Jing Zhao ji...@apache.org
Committed: Sat May 16 15:16:05 2015 -0700

--
 hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt  | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/DFSClient.java   | 3 +++
 2 files changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5e77bce4/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
--
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
index ef760fc..a8df3f2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
@@ -169,3 +169,6 @@
 
 HDFS-8242. Erasure Coding: XML based end-to-end test for ECCli commands
 (Rakesh R via vinayakumarb)
+
+HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..) 
(vinayakumarb via 
+umamahesh)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5e77bce4/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
index 5fb23a0..63c27ef 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
@@ -3351,11 +3351,14 @@ public class DFSClient implements java.io.Closeable, 
RemotePeerFactory,
*/
   public ECZoneInfo getErasureCodingZoneInfo(String src) throws IOException {
 checkOpen();
+TraceScope scope = getPathTraceScope(getErasureCodingZoneInfo, src);
 try {
   return namenode.getErasureCodingZoneInfo(src);
 } catch (RemoteException re) {
   throw re.unwrapRemoteException(FileNotFoundException.class,
   AccessControlException.class, UnresolvedPathException.class);
+} finally {
+  scope.close();
 }
   }
 }



[38/50] hadoop git commit: HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). Contributed by Vinayakumar B

2015-05-11 Thread zhz
HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). 
Contributed by Vinayakumar B


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

Branch: refs/heads/HDFS-7285
Commit: b7014e1e2a754aeb286d1352200a93cf6403a337
Parents: a7fac8b
Author: Uma Maheswara Rao G umamah...@apache.org
Authored: Tue May 5 19:25:21 2015 +0530
Committer: Zhe Zhang z...@apache.org
Committed: Mon May 11 11:36:24 2015 -0700

--
 hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt  | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/DFSClient.java   | 3 +++
 2 files changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b7014e1e/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
--
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
index ef760fc..a8df3f2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
@@ -169,3 +169,6 @@
 
 HDFS-8242. Erasure Coding: XML based end-to-end test for ECCli commands
 (Rakesh R via vinayakumarb)
+
+HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..) 
(vinayakumarb via 
+umamahesh)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/b7014e1e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
index 7682459..b149bcf 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
@@ -3340,11 +3340,14 @@ public class DFSClient implements java.io.Closeable, 
RemotePeerFactory,
*/
   public ECZoneInfo getErasureCodingZoneInfo(String src) throws IOException {
 checkOpen();
+TraceScope scope = getPathTraceScope(getErasureCodingZoneInfo, src);
 try {
   return namenode.getErasureCodingZoneInfo(src);
 } catch (RemoteException re) {
   throw re.unwrapRemoteException(FileNotFoundException.class,
   AccessControlException.class, UnresolvedPathException.class);
+} finally {
+  scope.close();
 }
   }
 }



hadoop git commit: HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). Contributed by Vinayakumar B

2015-05-05 Thread umamahesh
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7285 edfaff3c7 - eeb8ed772


HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). 
Contributed by Vinayakumar B


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

Branch: refs/heads/HDFS-7285
Commit: eeb8ed77202bb82e6a13e971faaf86ea93823e63
Parents: edfaff3
Author: Uma Maheswara Rao G umamah...@apache.org
Authored: Tue May 5 19:25:21 2015 +0530
Committer: Uma Maheswara Rao G umamah...@apache.org
Committed: Tue May 5 19:25:21 2015 +0530

--
 hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt  | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/DFSClient.java   | 3 +++
 2 files changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hadoop/blob/eeb8ed77/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
--
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
index ef760fc..a8df3f2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
@@ -169,3 +169,6 @@
 
 HDFS-8242. Erasure Coding: XML based end-to-end test for ECCli commands
 (Rakesh R via vinayakumarb)
+
+HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..) 
(vinayakumarb via 
+umamahesh)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/eeb8ed77/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
--
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
index cfa14b8..729ebf8 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
@@ -3313,11 +3313,14 @@ public class DFSClient implements java.io.Closeable, 
RemotePeerFactory,
*/
   public ECZoneInfo getErasureCodingZoneInfo(String src) throws IOException {
 checkOpen();
+TraceScope scope = getPathTraceScope(getErasureCodingZoneInfo, src);
 try {
   return namenode.getErasureCodingZoneInfo(src);
 } catch (RemoteException re) {
   throw re.unwrapRemoteException(FileNotFoundException.class,
   AccessControlException.class, UnresolvedPathException.class);
+} finally {
+  scope.close();
 }
   }
 }