[
https://issues.apache.org/jira/browse/TRAFODION-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723409#comment-15723409
]
ASF GitHub Bot commented on TRAFODION-2384:
-------------------------------------------
Github user svarnau commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/862#discussion_r90957899
--- Diff: install/python-installer/traf_setup.py ---
@@ -50,6 +50,9 @@ def run():
### kernel settings ###
run_cmd('sysctl -w kernel.pid_max=65535 2>&1 > /dev/null')
run_cmd('echo "kernel.pid_max=65535" >> /etc/sysctl.conf')
+ run_cmd('cp $SQ_ROOT/sysinstall/etc/init.d/trafodion /etc/init.d')
--- End diff --
I think @mkby is right. The run_cmd will not have SQ_ROOT in the shell
environment. The cp command needs to be changed as he suggests.
> Trafodion node needs to be gracefully shutdown when the node is brought down
> ----------------------------------------------------------------------------
>
> Key: TRAFODION-2384
> URL: https://issues.apache.org/jira/browse/TRAFODION-2384
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: installer
> Reporter: Selvaganesan Govindarajan
> Assignee: Selvaganesan Govindarajan
> Fix For: 2.1-incubating
>
>
> When a node in a Trafodion cluster is brought down using linux commands like
> shutdown, init 6 and reboot, the trafodion processes need to be stopped
> before the underlying the stack is stopped. Otherwise, some of the processes
> can dump core which are being restarted as part of the persistence concept of
> Trafodion. RMS processes, TM are examples of such persistence processes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)