You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2013/05/29 19:11:57 UTC

svn commit: r1487547 - in /incubator/ambari/trunk: CHANGES.txt ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp

Author: jaimin
Date: Wed May 29 17:11:57 2013
New Revision: 1487547

URL: http://svn.apache.org/r1487547
Log:
AMBARI-2213. RegionServer gets  exception while accessing staging directory in secure cluster. (jaimin)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1487547&r1=1487546&r2=1487547&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed May 29 17:11:57 2013
@@ -904,6 +904,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2213. RegionServer gets  exception while accessing staging directory
+ in secure cluster. (jaimin) 
+
  AMBARI-2218. Unit test failures. (smohanty)
 
  AMBARI-2217. Increase ambari-agent test coverage. (smohanty)

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp?rev=1487547&r1=1487546&r2=1487547&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/namenode.pp Wed May 29 17:11:57 2013
@@ -140,6 +140,12 @@ define hdp-hadoop::namenode::create_app_
         owner         => $hdp::params::hbase_user,
         service_state => $service_state
       }
+     $hbase_staging_dir = $hdp::params::hbase_staging_dir
+     hdp-hadoop::hdfs::directory { $hbase_staging_dir:
+       owner         => $hdp::params::hbase_user,
+       service_state => $service_state,
+       mode             => '711',
+     }
     }
 
     if ($hdp::params::hive_server_host != "") {

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp?rev=1487547&r1=1487546&r2=1487547&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp Wed May 29 17:11:57 2013
@@ -202,6 +202,7 @@ class hdp::params()
   $hive_apps_whs_dir = hdp_default("hive_apps_whs_dir", "/apps/hive/warehouse")
   $webhcat_apps_dir = hdp_default("webhcat_apps_dir", "/apps/webhcat")
   $hbase_hdfs_root_dir = hdp_default("hbase-site/hbase.hdfs.root.dir","/apps/hbase/data")
+  $hbase_staging_dir = hdp_default("hbase-site/hbase.bulkload.staging.dir","/apps/hbase/staging")
 
   $yarn_nm_app_log_dir = hdp_default("yarn-site/yarn.nodemanager.remote-app-log-dir","/app-logs")