hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject hadoop git commit: HDFS-11840. Log HDFS Mover exception message of exit to its own log. Contributed by LiXin Ge.
Date Tue, 06 Jun 2017 21:57:56 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 867903db2 -> c31cb879a


HDFS-11840. Log HDFS Mover exception message of exit to its own log. Contributed by LiXin
Ge.


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

Branch: refs/heads/trunk
Commit: c31cb879a3595f76d01408e6d066a0bde20be043
Parents: 867903d
Author: Andrew Wang <wang@apache.org>
Authored: Tue Jun 6 14:57:48 2017 -0700
Committer: Andrew Wang <wang@apache.org>
Committed: Tue Jun 6 14:57:48 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c31cb879/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java
index 7eac87d..1a2c889 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java
@@ -180,6 +180,7 @@ public class Mover {
       return ExitStatus.ILLEGAL_ARGUMENTS;
     } catch (IOException e) {
       System.out.println(e + ".  Exiting ...");
+      LOG.error(e + ".  Exiting ...");
       return ExitStatus.IO_EXCEPTION;
     } finally {
       dispatcher.shutdownNow();


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