You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jh...@apache.org on 2017/06/09 03:04:23 UTC
[08/29] hadoop git commit: HDFS-11932. BPServiceActor thread name is
not correctly set. Contributed by Chen Liang.
HDFS-11932. BPServiceActor thread name is not correctly set. Contributed by Chen Liang.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/867903db
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/867903db
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/867903db
Branch: refs/heads/YARN-5734
Commit: 867903db2b38a59c86e71f1aaef3b0f9a87bfe17
Parents: 536f057
Author: Arpit Agarwal <ar...@apache.org>
Authored: Tue Jun 6 13:51:02 2017 -0700
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Tue Jun 6 13:51:02 2017 -0700
----------------------------------------------------------------------
.../org/apache/hadoop/hdfs/server/datanode/BPOfferService.java | 4 ++--
.../org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/867903db/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java
index 042169a..2644c0f 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java
@@ -189,8 +189,8 @@ class BPOfferService {
if (bpNSInfo != null) {
return bpNSInfo.getBlockPoolID();
} else {
- LOG.warn("Block pool ID needed, but service not yet registered with NN",
- new Exception("trace"));
+ LOG.warn("Block pool ID needed, but service not yet registered with " +
+ "NN, trace:", new Exception());
return null;
}
} finally {
http://git-wip-us.apache.org/repos/asf/hadoop/blob/867903db/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
index fcf7d5e..0896844 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
@@ -541,7 +541,7 @@ class BPServiceActor implements Runnable {
//Thread is started already
return;
}
- bpThread = new Thread(this, formatThreadName("heartbeating", nnAddr));
+ bpThread = new Thread(this);
bpThread.setDaemon(true); // needed for JUnit testing
bpThread.start();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org