[
https://issues.apache.org/jira/browse/KNOX-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15441849#comment-15441849
]
Larry McCay commented on KNOX-743:
----------------------------------
Findbugs seem to be resolved - thanks [~pregazzoni]!
I think we are going to need docs for this and instructions for testing it for
release time.
Take a look at the docs for the other webhcat docs like
http://knox.apache.org/books/knox-0-9-1/user-guide.html#submitJava()+-+Submit+a+Java+MapReduce+job
as an example.
The testing instructions will need to include a details for a db to download or
already available and schema import.
> 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
> Fix For: 0.10.0
>
> 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)