You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/06/27 09:46:04 UTC

[jira] [Created] (AMBARI-12183) Cannot stop oozie components (systemwide umask 027 + non-root)

Andrew Onischuk created AMBARI-12183:
----------------------------------------

             Summary: Cannot stop oozie components (systemwide umask 027 + non-root)
                 Key: AMBARI-12183
                 URL: https://issues.apache.org/jira/browse/AMBARI-12183
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.0


Attempting to stop oozie:

    
    
    
    2015-06-24 20:10:17,412 - Execute['cd /var/tmp/oozie && /usr/hdp/current/oozie-server/bin/oozie-stop.sh'] {'environment': {'OOZIE_CONFIG': '/usr/hdp/current/oozie-server/conf'}, 'only_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'user': 'joozie'}
    2015-06-24 20:10:17,418 - Skipping Execute['cd /var/tmp/oozie && /usr/hdp/current/oozie-server/bin/oozie-stop.sh'] due to only_if
    2015-06-24 20:10:17,418 - File['/var/run/oozie/oozie.pid'] {'action': ['delete']}
    2015-06-24 20:10:17,439 - Deleting File['/var/run/oozie/oozie.pid']
    

It's deleting the pid but not stopping the process.

    
    
    
    [root@c6401 oozie]# ps -ef | grep 23784
    joozie   23784     1 14 20:09 ?        00:00:21 /usr/jdk64/jdk1.8.0_40/bin/java -Djava.util.logging.config.file=/usr/hdp/current/oozie-server/oozie-server/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dhdp.version=2.2.6.0-2800 -Xmx2048m -Xmx2048m -Dderby.stream.error.file=/var/log/oozie/derby.log -Doozie.home.dir=/usr/hdp/2.2.6.0-2800/oozie -Doozie.config.dir=/usr/hdp/current/oozie-server/conf -Doozie.log.dir=/var/log/oozie -Doozie.data.dir=/hadoop/oozie/data -Doozie.instance.id=c6401.ambari.apache.org -Doozie.config.file=oozie-site.xml -Doozie.log4j.file=oozie-log4j.properties -Doozie.log4j.reload=10 -Doozie.http.hostname=c6401.ambari.apache.org -Doozie.admin.port=11001 -Doozie.http.port=11000 -Doozie.https.port=11443 -Doozie.base.url=http://c6401.ambari.apache.org:11000/oozie -Doozie.https.keystore.file=/home/joozie/.keystore -Doozie.https.keystore.pass=password -Djava.library.path=/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64 -Djava.endorsed.dirs=/usr/lib/bigtop-tomcat/endorsed -classpath /usr/lib/bigtop-tomcat/bin/bootstrap.jar -Dcatalina.base=/usr/hdp/current/oozie-server/oozie-server -Dcatalina.home=/usr/lib/bigtop-tomcat -Djava.io.tmpdir=/var/tmp/oozie org.apache.catalina.startup.Bootstrap start
    root     25437 13343  0 20:11 pts/1    00:00:00 grep 23784
    





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)