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

Larry McCay commented on KNOX-743:
----------------------------------

[~pregazzoni] - I've tried to test this but am having trouble getting sqoop to 
find the mysql driver. 
I've copied it to /usr/lib/sqoop/lib and also tried setting it explicitly in 
the sqoop classpath through Ambari.

Can you tell me what you do to get it to find the driver?

We will also need to roll those instructions into the sample so that testing 
during release is easier to do for everyone. I can do that once I get it 
working.
Thanks!

> 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, KNOX-743.patch.02, submitSqoop.md
>
>
> 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)

Reply via email to