You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/07 03:05:51 UTC

svn commit: r1347245 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/puppet/modules/hdp-hadoop/manifests/params.pp

Author: vikram
Date: Thu Jun  7 01:05:51 2012
New Revision: 1347245

URL: http://svn.apache.org/viewvc?rev=1347245&view=rev
Log:
AMBARI-440. Keep the touch file for NN format in /var/run rather than /etc/conf. (Contributed by Mahadev)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hadoop/manifests/params.pp

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347245&r1=1347244&r2=1347245&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 01:05:51 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-440. Keep the touch file for NN format in /var/run rather than /etc/conf. (Mahadev via Vikram)
+
   AMBARI-439. Gmetad start fails sometimes. (Ramya via Vikram)
 
   AMBARI-438. Add retry if kick fails immediately. (Jitendra via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hadoop/manifests/params.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hadoop/manifests/params.pp?rev=1347245&r1=1347244&r2=1347245&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hadoop/manifests/params.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hadoop/manifests/params.pp Thu Jun  7 01:05:51 2012
@@ -6,7 +6,6 @@ class hdp-hadoop::params(
   $use_preconditions = false
   ####  
   $conf_dir = $hdp::params::hadoop_conf_dir 
-  $namenode_formatted_mark_file = "${conf_dir}/namenode-formatted"
 
   ####### users
 
@@ -22,6 +21,9 @@ class hdp-hadoop::params(
   $hadoop_logdirprefix = hdp_default("hadoop/hadoop-env/hadoop_logdirprefix","/var/log/hadoop")
 
   $hadoop_piddirprefix = hdp_default("hadoop/hadoop-env/hadoop_piddirprefix","/var/run/hadoop")
+  $run_dir = $hadoop_piddirprefix 
+  $namenode_formatted_mark_file = "${run_dir}/hdfs/namenode-formatted"
+
 
   $jtnode_heapsize = hdp_default("hadoop/hadoop-env/jtnode_heapsize","1024m")