hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From web service <wbs...@gmail.com>
Subject Re: running hadoop jobs from within a program
Date Fri, 12 Nov 2010 03:16:43 GMT
would submitting, say for example 3 jobs from a jobclient be different than
invoking the below command 3 times ?

On Thu, Nov 11, 2010 at 7:17 PM, web service <wbsrvc@gmail.com> wrote:

> Hi,
>   Currently I run my sample hadoop job from a bash script using the
> following command ...
>
> [code]
> tmp="$HADOOP_BIN jar $JAR_LOC  $MAIN_CLASS /user/joe/input/input-$i/
> /user/vadmin/output/output-$i/
> $tmp
> [/code]
>
> However, I would want to write a timer that would do some cleanup after the
> jobs are  complete and restart the jobs after x hours. What I am looking for
> is
> the ability to invoke job from within a program and not the jar command
> thing.
>
> -Mac
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message