[
https://issues.apache.org/jira/browse/BIGTOP-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251071#comment-14251071
]
jay vyas edited comment on BIGTOP-1578 at 12/18/14 3:27 AM:
------------------------------------------------------------
[~evans_ye]
- i like the vagrantfile cleanup to read yaml params .... makes them directly
read into the shell script
- but, however I'm getting an error...
{noformat}
- ==> bigtop1: Info:
/Stage[main]/Hadoop_head_node/Hadoop::Proxyserver[proxyserver]/Service[hadoop-yarn-proxyserver]:
Unscheduling refresh on Service[hadoop-yarn-proxyserver]
==> bigtop1: Debug: Hadoop::Proxyserver[proxyserver]: The container
Class[Hadoop_head_node] will propagate my refresh event
==> bigtop1: Debug: Class[Hadoop::Common-yarn]: The container Stage[main] will
propagate my refresh event
==> bigtop1: Debug: Executing '/sbin/service hadoop-hdfs-namenode status'
==> bigtop1: Debug: Executing '/sbin/service hadoop-hdfs-namenode start'
==> bigtop1: Debug: Executing '/sbin/service hadoop-hdfs-namenode status'
==> bigtop1: Error: Could not start Service[hadoop-hdfs-namenode]: Execution of
'/sbin/service hadoop-hdfs-namenode start' returned 1: starting namenode,
logging to /var/log/hadoop-hdfs/hadoop-hdfs-namenode-bigtop1.vagrant.out
==> bigtop1: Failed to start Hadoop namenode. Return value: 1[FAILED]
==> bigtop1: Wrapped exception:
==> bigtop1: Execution of '/sbin/service hadoop-hdfs-namenode start' returned
1: starting namenode, logging to
/var/log/hadoop-hdfs/hadoop-hdfs-namenode-bigtop1.vagrant.out
==> bigtop1: Failed to start Hadoop namenode. Return value: 1[FAILED]
==> bigtop1: Error:
/Stage[main]/Hadoop_head_node/Hadoop::Namenode[namenode]/Service[hadoop-hdfs-namenode]/ensure:
change from stopped to running failed: Could not start
Service[hadoop-hdfs-namenode]: Execution of '/sbin/service hadoop-hdfs-namenode
start' returned 1: starting namenode, logging to
/var/log/hadoop-hdfs/hadoop-hdfs-namenode-bigtop1.vagrant.out
==> bigtop1: Failed to start Hadoop namenode. Return value: 1[FAILED]
{noformat}
was (Author: jayunit100):
[~evans_ye]
- i like the vagrantfile cleanup to read yaml params .... makes them directly
read into the shell script
getting an error
{noformat}
- ==> bigtop1: Info:
/Stage[main]/Hadoop_head_node/Hadoop::Proxyserver[proxyserver]/Service[hadoop-yarn-proxyserver]:
Unscheduling refresh on Service[hadoop-yarn-proxyserver]
==> bigtop1: Debug: Hadoop::Proxyserver[proxyserver]: The container
Class[Hadoop_head_node] will propagate my refresh event
==> bigtop1: Debug: Class[Hadoop::Common-yarn]: The container Stage[main] will
propagate my refresh event
==> bigtop1: Debug: Executing '/sbin/service hadoop-hdfs-namenode status'
==> bigtop1: Debug: Executing '/sbin/service hadoop-hdfs-namenode start'
==> bigtop1: Debug: Executing '/sbin/service hadoop-hdfs-namenode status'
==> bigtop1: Error: Could not start Service[hadoop-hdfs-namenode]: Execution of
'/sbin/service hadoop-hdfs-namenode start' returned 1: starting namenode,
logging to /var/log/hadoop-hdfs/hadoop-hdfs-namenode-bigtop1.vagrant.out
==> bigtop1: Failed to start Hadoop namenode. Return value: 1[FAILED]
==> bigtop1: Wrapped exception:
==> bigtop1: Execution of '/sbin/service hadoop-hdfs-namenode start' returned
1: starting namenode, logging to
/var/log/hadoop-hdfs/hadoop-hdfs-namenode-bigtop1.vagrant.out
==> bigtop1: Failed to start Hadoop namenode. Return value: 1[FAILED]
==> bigtop1: Error:
/Stage[main]/Hadoop_head_node/Hadoop::Namenode[namenode]/Service[hadoop-hdfs-namenode]/ensure:
change from stopped to running failed: Could not start
Service[hadoop-hdfs-namenode]: Execution of '/sbin/service hadoop-hdfs-namenode
start' returned 1: starting namenode, logging to
/var/log/hadoop-hdfs/hadoop-hdfs-namenode-bigtop1.vagrant.out
==> bigtop1: Failed to start Hadoop namenode. Return value: 1[FAILED]
{noformat}
> Refactor vagrant-puppet provisioner to have its configurations all come from
> yaml
> ---------------------------------------------------------------------------------
>
> Key: BIGTOP-1578
> URL: https://issues.apache.org/jira/browse/BIGTOP-1578
> Project: Bigtop
> Issue Type: Improvement
> Components: deployment
> Affects Versions: 0.8.0
> Reporter: Evans Ye
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1578.1.patch
>
>
> This is the first step for simplification and consolidation of current
> available two Bigtop provisioner.
> With the yaml file introduced to the provisioner, we can now have a tidy
> structure by removing provision.sh and do all the configuration in
> vagrantconfig.yaml.
> Meanwhile, the code snippet used in both vagrant-puppet and docker-puppet is
> now shared in {{bigtop-deploy/vm/utils/setup-env.sh}}, so that we won't be
> confusing where to find or add a function.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)