[ 
https://issues.apache.org/jira/browse/AMBARI-15684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224004#comment-15224004
 ] 

Hadoop QA commented on AMBARI-15684:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12796810/AMBARI-15684.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/6167//console

This message is automatically generated.

> Provide more intuitive error message when unable to change Ambari server pid 
> or log dirs
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-15684
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15684
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15684.patch
>
>
> I am unable to change the Ambari Server log and pid directory and the error is
> not very intuitive.
> 1\. Ran ambari server setup  
> 2\. changed ambari server daemon to ambaritest (from root)  
> 3\. edited the files to change log and pid  
> 4\. Not working. Might be related to #2. Need to confirm changing log and/or
> pid working in all paths: root, non-root, after setup, after
> setup->start->stop, etc.
> vi /etc/ambari-server/conf/ambari.properties  
> pid.dir=/tmp/run/ambari-server
>     
>     
>     
>     [root@c6402 ~]# ambari-server start
>     Using python  /usr/bin/python
>     Starting ambari-server
>     Ambari Server running with administrator privileges.
>     Organizing resource files at /var/lib/ambari-server/resources...
>     WARNING: Multiple versions of javax.servlet.jsp.jstl.jar found in java 
> class path (/usr/lib/ambari-server/javax.servlet.jsp.jstl-1.2.2.jar and 
> /usr/lib/ambari-server/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar). 
>      Make sure that you include only one javax.servlet.jsp.jstl.jar in the 
> java class path 
> '/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar'.
>     Server PID at: /tmp/run/ambari-server/ambari-server.pid
>     Server out at: /tmp/log/ambari-server/ambari-server.out
>     Server log at: /tmp/log/ambari-server/ambari-server.log
>     Waiting for server start....sh: /tmp/log/ambari-server/ambari-server.out: 
> No such file or directory
>     sh: /tmp/run/ambari-server/ambari-server.exitcode: Permission denied
>     .....
>     ERROR: Exiting with exit code -1. 
>     REASON: Ambari Server java process died with exitcode -1. Check 
> /tmp/log/ambari-server/ambari-server.out for more information.
>     [root@c6402 ~]# 
>     
> vi /etc/ambari-server/conf/log4j.properties  
> ambari.log.dir=$
> {ambari.root.dir}
> /var/log/ambari-server
>     
>     
>     
>     [root@c6402 ~]# ambari-server start
>     Using python  /usr/bin/python
>     Starting ambari-server
>     Ambari Server running with administrator privileges.
>     Organizing resource files at /var/lib/ambari-server/resources...
>     WARNING: Multiple versions of javax.servlet.jsp.jstl.jar found in java 
> class path (/usr/lib/ambari-server/javax.servlet.jsp.jstl-1.2.2.jar and 
> /usr/lib/ambari-server/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar). 
>      Make sure that you include only one javax.servlet.jsp.jstl.jar in the 
> java class path 
> '/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar'.
>     Server PID at: /var/run/ambari-server/ambari-server.pid
>     Server out at: /tmp/log/ambari-server/ambari-server.out
>     Server log at: /tmp/log/ambari-server/ambari-server.log
>     Waiting for server start....sh: /tmp/log/ambari-server/ambari-server.out: 
> No such file or directory
>     .....
>     ERROR: Exiting with exit code -1. 
>     REASON: Ambari Server java process died with exitcode 1. Check 
> /tmp/log/ambari-server/ambari-server.out for more information.
>     



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

Reply via email to