You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2013/12/19 17:43:11 UTC
[1/2] git commit: Revert "AMBARI-4055. set core file size on hosts to
get core dump when JVM crashes (Dmytro Shkvyra via dlysnichenko)"
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 <dl...@hortonworks.com>
Authored: Thu Dec 19 18:40:40 2013 +0200
Committer: Lisnichenko Dmitro <dl...@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}'"
[2/2] git commit: Revert "AMBARI-4055. set core file size on hosts to
get core dump when JVM crashes (Dmytro Shkvyra via dlysnichenko)"
Posted by dm...@apache.org.
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/87dd9be0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/87dd9be0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/87dd9be0
Branch: refs/heads/trunk
Commit: 87dd9be0dd769e867f31e37ab802e818e8d3058f
Parents: 05a0ce2f
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Thu Dec 19 18:40:07 2013 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Thu Dec 19 18:42:46 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/87dd9be0/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}'"