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

Robert Kanter commented on OOZIE-1575:
--------------------------------------

[~bowenzhangusa], I talked to Alejandro, and he suggested that as long as the 
Oozie CLI script is passing the args with {{$@}}, then we should be able to 
just do something like:
{noformat}
oozie sqoop -config job.properties -command import --connect whatever --query 
"something with a space in it" -m 1
{noformat}

OozieCLI Java code would receive the arguments in the double quotes as a single 
String.  And you shouldn't need any fancy custom parsing; just grab everything 
after {{-command}} (so the order would matter slightly, but that's ok because 
we do that with the other commands and the {{-X}} arg as I mentioned before).  
Would this not work?

> Add functionality to submit sqoop jobs through http on oozie server side
> ------------------------------------------------------------------------
>
>                 Key: OOZIE-1575
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1575
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Bowen Zhang
>            Assignee: Bowen Zhang
>             Fix For: trunk
>
>         Attachments: oozie-1575.patch, oozie-1575.patch, oozie-1575.patch
>
>




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

Reply via email to