HDFS-11840. Log HDFS Mover exception message of exit to its own log. Contributed by LiXin Ge.
This commit is contained in:
parent
867903db2b
commit
c31cb879a3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue