[ 
https://issues.apache.org/jira/browse/OOZIE-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829577#comment-13829577
 ] 

Bowen Zhang commented on OOZIE-1574:
------------------------------------

I moved the entire patch to 1575. The sqoop "-file" option points to the file 
that contains sqoop command to run where each option occupies its own line.
For examples, sqoop -file sqoop.command -X ....
cat sqoop.command shows:
import
--connect
jdbc:mysql://localhost:3306/oozie
--username
oozie
--password
oozie
--table
WF_JOBS
--target-dir
/user/${wf:user()}/${examplesRoot}/output-data/sqoop
-m
1
If the command is in free-form query, cat shows:
import
--connect
jdbc:mysql://localhost:3306/oozie
--username
oozie
--password
oozie
--query
SELECT a.id FROM WF_JOBS a WHERE $CONDITIONS
--target-dir
/user/${wf:user()}/${examplesRoot}/output-data/sqoop
-m
1

> Create command line option for oozie sqoop CLI
> ----------------------------------------------
>
>                 Key: OOZIE-1574
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1574
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Bowen Zhang
>            Assignee: Bowen Zhang
>             Fix For: trunk
>
>         Attachments: oozie-1574.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to