HDFS-10717. Fix findbugs warnings of hadoop-hdfs-client in branch-2. Contributed by Akira Ajisaka.
(cherry picked from commit 6ead6f3bb8
)
This commit is contained in:
parent
ad29c96075
commit
eb9af6ca34
|
@ -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"/>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue