Thanks Dilli,

When I submit the job through Knox with curl  -k -i  -v -u
guest:guest-password -X POST -d arg=/user/guest/test/input -d
arg=/user/guest/test/output   -d
jar=/user/guest/test/lib/hadoop-examples.jar -d class=wordcount
https://localhost:8443/gateway/sandbox/templeton/v1/mapreduce/jar

I don't see job id in the output. Shouldn't the output have it?

W/o the job id how is the user going to query the job status or get the job
output?


On Fri, Nov 22, 2013 at 11:51 AM, Dilli Arumugam
<[email protected]>wrote:

> curl  -k -i  -v -u guest:guest-password -X POST -d
> arg=/user/guest/test/input -d arg=/user/guest/test/output   -d
> jar=/user/guest/test/lib/hadoop-examples.jar -d class=wordcount
> https://localhost:8443/gateway/sandbox/templeton/v1/mapreduce/jar
>
>
>
>
> On Fri, Nov 22, 2013 at 11:41 AM, Dilli Arumugam
> <[email protected]>wrote:
>
> > Sorry, I sent you example for curl access to hadoop cluster direct.
> > Would send you another example that goes through knox shortly
> > Dilli
> >
> >
> > On Fri, Nov 22, 2013 at 11:26 AM, Vinay Shukla <[email protected]
> >wrote:
> >
> >> Dilli,
> >>
> >> This was a great example and help a lot. Unfortunately in the last step
> >> cURL  directly cURL calls templeton and bypasses Knox. How can I do it
> >> through Knox?
> >>
> >> -Thanks,
> >> Vinay
> >>
> >>
> >>
> >>
> >> On Fri, Nov 22, 2013 at 10:40 AM, Kevin Minder <
> >> [email protected]
> >> > wrote:
> >>
> >> > Well that certainly is a whole lot easier than what I provided.
>  Thanks
> >> > Dilli!
> >> >
> >> >
> >> > On 11/22/13 1:37 PM, Dilli Arumugam wrote:
> >> >
> >> >> curl  -i -X POST -d arg=/user/guest/test/input -d
> >> >> arg=/user/guest/test/output   -d
> >> >> jar=/user/guest/test/lib/hadoop-examples.jar -d class=wordcount
> >> >> http://localhost:50111/templeton/v1/mapreduce/jar?user.name=guest
> >> >>
> >> >> Pre req*usites on** HDFS*
> >> >>
> >> >> /user/guest/test/output shoud NOT exisit
> >> >> /user/guest/test/input should exist with some text files
> >> >> /user/guest/test/lib/hadoop-examples.jar should exisit
> >> >>
> >> >> Thanks
> >> >> Dilli
> >> >>
> >> >>
> >> >> On Fri, Nov 22, 2013 at 9:15 AM, Vinay Shukla <[email protected]
> >
> >> >> wrote:
> >> >>
> >> >>  This is go in the user guide. Currently I see instructions, for
> >> >>> submitting
> >> >>> a job (rather a multi steps process to submit Oozie workflow) with
> >> Oozie
> >> >>> but don't see anything directly with Templeton.
> >> >>>
> >> >>> Wonder what should we offer our users?
> >> >>>
> >> >>>
> >> >>> On Fri, Nov 22, 2013 at 9:09 AM, Kevin Minder
> >> >>> <[email protected]>wrote:
> >> >>>
> >> >>>  That is going to be enormously long but I'm sure I had one at one
> >> time.
> >> >>>>   I'll look for it or otherwise re-figure out how to turn on client
> >> side
> >> >>>> HTTP logging so that you can capture the URLs and bodies.
> >> >>>>
> >> >>>>
> >> >>>> On 11/22/13 12:06 PM, Vinay Shukla wrote:
> >> >>>>
> >> >>>>  Is there a sample showing how to run this without using ClientDSL
> or
> >> >>>>> Groovy
> >> >>>>> script?
> >> >>>>>
> >> >>>>> I am looking for a sample directly using cURL.
> >> >>>>>
> >> >>>>> Thanks,
> >> >>>>> Vinay
> >> >>>>>
> >> >>>>>
> >> >>>>>  --
> >> >>>> CONFIDENTIALITY NOTICE
> >> >>>> NOTICE: This message is intended for the use of the individual or
> >> entity
> >> >>>> to which it is addressed and may contain information that is
> >> >>>>
> >> >>> confidential,
> >> >>>
> >> >>>> privileged and exempt from disclosure under applicable law. If the
> >> >>>> reader
> >> >>>> of this message is not the intended recipient, you are hereby
> >> notified
> >> >>>>
> >> >>> that
> >> >>>
> >> >>>> any printing, copying, dissemination, distribution, disclosure or
> >> >>>> forwarding of this communication is strictly prohibited. If you
> have
> >> >>>> received this communication in error, please contact the sender
> >> >>>>
> >> >>> immediately
> >> >>>
> >> >>>> and delete it from your system. Thank You.
> >> >>>>
> >> >>>>
> >> >
> >> > --
> >> > CONFIDENTIALITY NOTICE
> >> > NOTICE: This message is intended for the use of the individual or
> entity
> >> > to which it is addressed and may contain information that is
> >> confidential,
> >> > privileged and exempt from disclosure under applicable law. If the
> >> reader
> >> > of this message is not the intended recipient, you are hereby notified
> >> that
> >> > any printing, copying, dissemination, distribution, disclosure or
> >> > forwarding of this communication is strictly prohibited. If you have
> >> > received this communication in error, please contact the sender
> >> immediately
> >> > and delete it from your system. Thank You.
> >> >
> >>
> >
> >
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Reply via email to