You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by evelina dumitrescu <ev...@gmail.com> on 2017/04/21 05:29:48 UTC

Running a script/executable stored in HDFS from a mapper

Hi,

Is it possible to run a script/executable stored in HDFS from a mapper ?

Thank you,
Evelina

Re: Running a script/executable stored in HDFS from a mapper

Posted by Ravi Prakash <ra...@gmail.com>.
Perhaps you want to look at Hadoop Streaming?
https://hadoop.apache.org/docs/r2.7.1/hadoop-streaming/HadoopStreaming.html

On Fri, Apr 21, 2017 at 12:30 AM, Philippe Kernévez <pk...@octo.com>
wrote:

> Hi Evelina,
>
> Files in HDFS are not executable.
> You first need to copy it on a local tmp disk then run it (or may be load
> it in the mapper depending on your case).
>
> Regards,
> Philippe
>
> On Fri, Apr 21, 2017 at 7:29 AM, evelina dumitrescu <
> evelina.a.dumitrescu@gmail.com> wrote:
>
>> Hi,
>>
>> Is it possible to run a script/executable stored in HDFS from a mapper ?
>>
>> Thank you,
>> Evelina
>>
>>
>
>
> --
> Philippe Kernévez
>
>
>
> Directeur technique (Suisse),
> pkernevez@octo.com
> +41 79 888 33 32 <+41%2079%20888%2033%2032>
>
> Retrouvez OCTO sur OCTO Talk : http://blog.octo.com
> OCTO Technology http://www.octo.ch
>

Re: Running a script/executable stored in HDFS from a mapper

Posted by Philippe Kernévez <pk...@octo.com>.
Hi Evelina,

Files in HDFS are not executable.
You first need to copy it on a local tmp disk then run it (or may be load
it in the mapper depending on your case).

Regards,
Philippe

On Fri, Apr 21, 2017 at 7:29 AM, evelina dumitrescu <
evelina.a.dumitrescu@gmail.com> wrote:

> Hi,
>
> Is it possible to run a script/executable stored in HDFS from a mapper ?
>
> Thank you,
> Evelina
>
>


-- 
Philippe Kernévez



Directeur technique (Suisse),
pkernevez@octo.com
+41 79 888 33 32

Retrouvez OCTO sur OCTO Talk : http://blog.octo.com
OCTO Technology http://www.octo.ch