sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Cecho" <jar...@apache.org>
Subject Review Request 17884: SQOOP-1285 Sqoop2: ToolRunner is not exiting with proper exit value on error
Date Sun, 09 Feb 2014 22:51:19 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17884/
-----------------------------------------------------------

Review request for Sqoop.


Bugs: SQOOP-1285
    https://issues.apache.org/jira/browse/SQOOP-1285


Repository: sqoop-sqoop2


Description
-------

I've added explicit call to System.exit(1) in case that we will see any failure in the tool
execution.


Diffs
-----

  tools/src/main/java/org/apache/sqoop/tools/ToolRunner.java 8f64e7f7142f05fc1853a453f46e5505aa59f17a


Diff: https://reviews.apache.org/r/17884/diff/


Testing
-------

I've tested the change on real cluster.


Thanks,

Jarek Cecho


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message