hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-10717. Fix findbugs warnings of hadoop-hdfs-client in branch-2. Contributed by Akira Ajisaka.
Date Thu, 04 Aug 2016 17:35:11 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 365a27099 -> 6ead6f3bb


HDFS-10717. Fix findbugs warnings of hadoop-hdfs-client in branch-2. Contributed by Akira
Ajisaka.


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

Branch: refs/heads/branch-2
Commit: 6ead6f3bb83b5c27d884401fb950b5b629fec7ec
Parents: 365a270
Author: Kihwal Lee <kihwal@apache.org>
Authored: Thu Aug 4 12:33:55 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Thu Aug 4 12:34:54 2016 -0500

----------------------------------------------------------------------
 .../hadoop-hdfs-client/dev-support/findbugsExcludeFile.xml        | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/DataStreamer.java        | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6ead6f3b/hadoop-hdfs-project/hadoop-hdfs-client/dev-support/findbugsExcludeFile.xml
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/dev-support/findbugsExcludeFile.xml b/hadoop-hdfs-project/hadoop-hdfs-client/dev-support/findbugsExcludeFile.xml
index 41a8564..2b3295e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/dev-support/findbugsExcludeFile.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/dev-support/findbugsExcludeFile.xml
@@ -1,9 +1,12 @@
 <FindBugsFilter>
   <Match>
     <Or>
+      <Class name="org.apache.hadoop.fs.BlockStorageLocation"/>
+      <Class name="org.apache.hadoop.fs.HdfsVolumeId"/>
       <Class name="org.apache.hadoop.fs.XAttr"/>
       <Class name="org.apache.hadoop.fs.XAttr$Builder"/>
       <Class name="org.apache.hadoop.hdfs.inotify.EventBatch"/>
+      <Class name="org.apache.hadoop.hdfs.protocol.HdfsBlocksMetadata"/>
       <Class name="org.apache.hadoop.hdfs.protocol.HdfsFileStatus"/>
       <Class name="org.apache.hadoop.hdfs.protocol.LocatedBlock"/>
       <Class name="org.apache.hadoop.hdfs.protocol.BlockStoragePolicy"/>

http://git-wip-us.apache.org/repos/asf/hadoop/blob/6ead6f3b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
index 323ccce..bdd20c4 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
@@ -404,7 +404,6 @@ class DataStreamer extends Daemon {
                        ByteArrayManager byteArrayManage,
                        boolean isAppend, String[] favoredNodes,
                        EnumSet<AddBlockFlag> flags) {
-    this.block = block;
     this.dfsClient = dfsClient;
     this.src = src;
     this.progress = progress;


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