ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitriu...@apache.org
Subject [1/2] git commit: Revert "AMBARI-4055. set core file size on hosts to get core dump when JVM crashes (Dmytro Shkvyra via dlysnichenko)"
Date Thu, 19 Dec 2013 16:43:11 GMT
Updated Branches:
  refs/heads/branch-1.4.3 1ae27abe0 -> 0afdfd16d
  refs/heads/trunk 05a0ce2f9 -> 87dd9be0d


Revert "AMBARI-4055. set core file size on hosts to get core dump when JVM crashes (Dmytro
Shkvyra via dlysnichenko)"

This reverts commit 4e41f12f7060605896affd1d30f3335694d4c434.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0afdfd16
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0afdfd16
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0afdfd16

Branch: refs/heads/branch-1.4.3
Commit: 0afdfd16daf426a074973cdab4ecab9716ab1628
Parents: 1ae27ab
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Thu Dec 19 18:40:40 2013 +0200
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Thu Dec 19 18:42:31 2013 +0200

----------------------------------------------------------------------
 .../src/main/puppet/modules/hdp-hadoop/manifests/service.pp       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0afdfd16/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/service.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/service.pp b/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/service.pp
index ae55775..98def76 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/service.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/service.pp
@@ -48,10 +48,9 @@ define hdp-hadoop::service(
   } 
 
   $log_dir = "${hdp-hadoop::params::hdfs_log_dir_prefix}/${user}"
-  $set_ulimit_cmd = "ulimit -c unlimited && if [ `ulimit -c` != 'unlimited' ]; then
exit 1; fi"
   $hadoop_daemon = "export HADOOP_LIBEXEC_DIR=${hadoop_libexec_dir} && ${hdp::params::hadoop_bin}/hadoop-daemon.sh"
    
-  $cmd = "${set_ulimit_cmd} && ${hadoop_daemon} --config ${hdp-hadoop::params::conf_dir}"
+  $cmd = "${hadoop_daemon} --config ${hdp-hadoop::params::conf_dir}"
   if ($ensure == 'running') {
     if ($run_as_root == true) {
       $daemon_cmd = "su - root -c  '${cmd} start ${name}'"


Mime
View raw message