-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37250/
-----------------------------------------------------------
Review request for Sqoop.
Bugs: SQOOP-2456
https://issues.apache.org/jira/browse/SQOOP-2456
Repository: sqoop-trunk
Description
-------
It would be useful to have a environment variable that has default options that
are passed to the sqoop tool - something like the options file, but more like
an environment variable along the lines of JAVA_OPTIONS, _JAVA_OPTIONS etc
which will be helpful in some cases
For example, if --hive-overwrite is needed to be added to a sqoop execution.
Added an option SQOOP_CMD_OPTION which can be a simple list of command line
options that can be added (whitespace separated) that can be added to Sqoop
execution automatically on invocation.
Diffs
-----
src/java/com/cloudera/sqoop/util/OptionsFileUtil.java 6c6cacd
src/java/org/apache/sqoop/Sqoop.java 93736a6
src/java/org/apache/sqoop/util/OptionsFileUtil.java c476e00
src/test/com/cloudera/sqoop/util/TestOptionsFileExpansion.java 3f0bfb9
Diff: https://reviews.apache.org/r/37250/diff/
Testing
-------
Unit tests added and all tests pass
Thanks,
Venkat Ranganathan