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

Larry McCay edited comment on KNOX-715 at 6/28/16 8:41 PM:
-----------------------------------------------------------

[~pregazzoni]
I have been unable to get this patch to complete successfully in a couple 
different environments.

I'm beginning to think that we may have to push this fix out of the 0.9.1 
release though I don't really want to.



was (Author: lmccay):
I have been unable to get this patch to complete successfully in a couple 
different environments. I also seemed to have to add the creation of the lib 
directory within /user/guest/test/ in order to get far enough to submit the 
jar. The jar submit is currently hanging.

I'm beginning to think that we may have to push this fix out of the 0.9.1 
release though I don't really want to.

[~pregazzoni] - were you able to make this work without having the lib 
directory created within the script? Maybe the CREATE of the file can add the 
directory implicitly?

> submitJava should allow multiple argument via arg()
> ---------------------------------------------------
>
>                 Key: KNOX-715
>                 URL: https://issues.apache.org/jira/browse/KNOX-715
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: ClientDSL
>    Affects Versions: 0.7.0
>            Reporter: Pierre Regazzoni
>            Assignee: Pierre Regazzoni
>             Fix For: 0.9.1
>
>         Attachments: KNOX-715-002.patch, KNOX-715-003.patch, KNOX-715.patch
>
>
> Like with submitPig (KNOX-712). I want to be able to provide multiple 
> argument when submitting a jar via submitJava. For example, should be able to 
> do:
> {noformat}
> jobId = Job.submitJava(session) \
>      .jar( "path-to-my-jar" ) \
>      .app( "class-name" ) \
>      .arg( "argument1").arg("value1") \
>      .arg( "argument2").arg("value2") \
>      .arg( "argument3") \
>      .output("path-to-output-dir ) \
>      .now().jobId
> {noformat}
> Current code limits execution to only specifying jar,class,input,output. I 
> should have a patch for it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to