You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Pierre Regazzoni (JIRA)" <ji...@apache.org> on 2016/08/26 04:16:20 UTC

[jira] [Comment Edited] (KNOX-743) Add submitSqoop via knox shell api

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

Pierre Regazzoni edited comment on KNOX-743 at 8/26/16 4:16 AM:
----------------------------------------------------------------

Thanks [~lmccay], I guess not sure why 177 findbugs. Did not see that # from the jenkins job. Will see what i can find. Fixed 4 windbags issues and uploaded new patch.


was (Author: pregazzoni):
Thanks [~lmccay], I guess not sure why 177 findbugs. Did not see that # from the jenkins job. Will see what i can find.

> Add submitSqoop via knox shell api
> ----------------------------------
>
>                 Key: KNOX-743
>                 URL: https://issues.apache.org/jira/browse/KNOX-743
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: ClientDSL
>    Affects Versions: 0.9.0
>            Reporter: Pierre Regazzoni
>            Assignee: Pierre Regazzoni
>         Attachments: KNOX-743.patch
>
>
> Add ability to submitSqoop job via knox since templeton also support this functionality. I have a basic patch that I am trying and will submit it. Would be something like this:
> {code:java}
> sqoop_command = "import --connect ..."
> jobId = Job.submitSqoop(session) \
>             .command(sqoop_command) \
>             .statusDir("${jobDir}/output") \
>             .now().jobId
> {code}



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