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.
>

Reply via email to