You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Charan Thota <ch...@students.iiit.ac.in> on 2008/07/10 21:14:10 UTC
newbie in streaming: How to execute a single executable
Hi,
I'm a newbie in streaming in hadoop. I want to know how to execute a single c++ executable?
Should it be a mapper only job? the executable is to cluster a set of points present in
a file.
so, it cannot be really said to be a mapper or reducer.Also, there is no code
present,except for the executable.
please tell me how to execute this on hadoop. is there any other way (apart from
streaming) to do this?
Thank you
Charan T.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Re: newbie in streaming: How to execute a single executable
Posted by Charan Thota <ch...@students.iiit.ac.in>.
yeah it worked thanks for the help :)
On Mon, 14 Jul 2008 14:56:34 +0900, Taeho Kang wrote
> 1. You will have to modify your c++ binary (or any other binary) in a way
> that
> it takes input from stdin
> and outputs to stdout.
>
> 2. If you run your job as a mapper only job, you'll have as many result
> files as the number of mappers created.
>
> On Fri, Jul 11, 2008 at 4:14 AM, Charan Thota <ch...@students.iiit.ac.in>
> wrote:
>
> >
> > Hi,
> >
> > I'm a newbie in streaming in hadoop. I want to know how to execute a
> > single c++ executable?
> > Should it be a mapper only job? the executable is to cluster a set of
> > points present in
> > a file.
> > so, it cannot be really said to be a mapper or reducer.Also, there is no
> > code
> > present,except for the executable.
> >
> > please tell me how to execute this on hadoop. is there any other way
> > (apart from
> > streaming) to do this?
> >
> > Thank you
> >
> > Charan T.
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
--
Students Mail Server @ IIIT Hyderabad.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Re: newbie in streaming: How to execute a single executable
Posted by Taeho Kang <tk...@gmail.com>.
1. You will have to modify your c++ binary (or any other binary) in a way
that
it takes input from stdin
and outputs to stdout.
2. If you run your job as a mapper only job, you'll have as many result
files as the number of mappers created.
On Fri, Jul 11, 2008 at 4:14 AM, Charan Thota <ch...@students.iiit.ac.in>
wrote:
>
> Hi,
>
> I'm a newbie in streaming in hadoop. I want to know how to execute a
> single c++ executable?
> Should it be a mapper only job? the executable is to cluster a set of
> points present in
> a file.
> so, it cannot be really said to be a mapper or reducer.Also, there is no
> code
> present,except for the executable.
>
> please tell me how to execute this on hadoop. is there any other way
> (apart from
> streaming) to do this?
>
> Thank you
>
> Charan T.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>