Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.7.0
-
None
Description
There's no dependency setting to explicitly define init-hdfs.sh to be executed after hdfs get ready, so when running the puppet recipes to deploy a hadoop environment, the init-hdfs.sh script failed to setup folders and permissions on hdfs since it will be executed before namenode and datanode has been started.
Sample output:
notice: /Stage[main]/Hadoop_worker_node/Hadoop::Datanode[datanode]/File[/data/1/hdfs]/mode: mode changed '0700' to '0755' notice: /Stage[main]/Hadoop_head_node/Exec[init hdfs]/returns: executed successfully notice: /Stage[main]/Hadoop_worker_node/Hadoop::Datanode[datanode]/File[/data/2/hdfs]/mode: mode changed '0700' to '0755' notice: /Stage[main]/Hadoop_worker_node/Hadoop::Datanode[datanode]/Service[hadoop-hdfs-datanode]/ensure: ensure changed 'stopped' to 'running' notice: /Stage[main]/Hadoop_head_node/Hadoop::Namenode[namenode]/Service[hadoop-hdfs-namenode]/ensure: ensure changed 'stopped' to 'running' notice: /Stage[main]/Hadoop_head_node/Hadoop-hbase::Master[hbase master]/Service[hbase-master]/ensure: ensure changed 'stopped' to 'running' notice: Finished catalog run in 135.44 seconds
Attachments
Attachments
Issue Links
- is duplicated by
-
BIGTOP-922 Existing Puppet recipes are failing to initialize HDFS dictories on the first run
- Resolved