hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rake...@apache.org
Subject [08/50] [abbrv] hadoop git commit: HDFS-12215. DataNode.transferBlock does not create its daemon in the xceiver thread group. (Lei Xu)
Date Sun, 27 Aug 2017 07:15:35 GMT
HDFS-12215. DataNode.transferBlock does not create its daemon in the xceiver thread group.
(Lei Xu)


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

Branch: refs/heads/HDFS-10285
Commit: 36bada3032e438099ada9d865c3945d42c3e7c2a
Parents: f29a0fc
Author: Lei Xu <lei@apache.org>
Authored: Fri Aug 25 16:01:14 2017 -0700
Committer: Lei Xu <lei@apache.org>
Committed: Fri Aug 25 16:01:14 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/server/datanode/DataNode.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/36bada30/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
index 6069487..1a85b46 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
@@ -2999,8 +2999,8 @@ public class DataNode extends ReconfigurableBase
     b.setNumBytes(visible);
 
     if (targets.length > 0) {
-      new DataTransfer(targets, targetStorageTypes, targetStorageIds, b, stage,
-          client).run();
+      new Daemon(new DataTransfer(targets, targetStorageTypes,
+          targetStorageIds, b, stage, client)).start();
     }
   }
 


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