Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # dev >> Review Request: SQOOP-495: Support for parameter substitution in the client shell.


Copy link to this message
-
Re: Review Request: SQOOP-495: Support for parameter substitution in the client shell.

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

(Updated July 16, 2012, 5:26 p.m.)
Review request for Sqoop.
Changes
-------

Thanks Jarek for your review. Patch updated.
Description
-------

Support for parameter substitution in the client shell.

sqoop:000> host="local"
sqoop:000> set server -h ${host}
Server is set successfully.

sqoop:000> show server -a
Server host: local
Server port: 8080
Server webapp: sqoop

sqoop:000>
This addresses bug SQOOP-495.
    https://issues.apache.org/jira/browse/SQOOP-495
Diffs (updated)
-----

  /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/core/ClientError.java 1359824
  /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/SetCommand.java 1359824
  /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/SqoopCommand.java 1359824

Diff: https://reviews.apache.org/r/5934/diff/
Testing
-------
Thanks,

vasanthkumar