Its odd because the configure_cdh_hadoop.sh file actually has code in it to
launch a secondarynamenode, its just that there is no way to configure whirr
to pass in the role to the shell file.

     for role in $(echo "$ROLES" | tr "," "\n"); do

    case $role in

    hadoop-namenode)

      start_namenode

      ;;

    hadoop-secondarynamenode)

      start_hadoop_daemon secondarynamenode

      ;;

    hadoop-jobtracker)

      start_hadoop_daemon jobtracker

      ;;

    hadoop-datanode)

      start_hadoop_daemon datanode

      ;;

    hadoop-tasktracker)

      start_hadoop_daemon tasktracker

      ;;

    esac

  done

}

On Wed, Jul 13, 2011 at 2:32 PM, Andrei Savu <savu.and...@gmail.com> wrote:

> I just took a look at the source code. It seems like there is some
> code in configure scripts that can be used to start the secondary
> namenode unfortunately there is no hadoop-secondarynamenode role
> defined.
>
> So I believe it's not possible to start a Hadoop cluster that has a
> secondarynamenode.
>
> Tom have you used this in the past?
>
> -- Andrei
>
> On Wed, Jul 13, 2011 at 2:26 PM, John Conwell <j...@iamjohn.me> wrote:
> > I'm not sure what you mean by that.  Let me rephrase...can I use whirr to
> > launch a cluster that has a secondarynamenode?
> >
> > On Wed, Jul 13, 2011 at 2:14 PM, Andrei Savu <savu.and...@gmail.com>
> wrote:
> >>
> >> The secondary namenode is not started by the hadoop install /
> >> configure scripts.
> >>
> >> -- Andrei Savu / andreisavu.ro
> >>
> >> On Wed, Jul 13, 2011 at 2:05 PM, John Conwell <j...@iamjohn.me> wrote:
> >> > Does whirr support secondarynamenode instances for a hadoop cluster?
>  If
> >> > so,
> >> > what are the configuration parameters in the whirr config file?
> >> >
> >> > --
> >> >
> >> > Thanks,
> >> > John C
> >> >
> >
> >
> >
> > --
> >
> > Thanks,
> > John C
> >
>



-- 

Thanks,
John C

Reply via email to