You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2013/05/09 00:11:17 UTC
[jira] [Updated] (AMBARI-2098) Customizing webcat pid run directory
fails service status
[ https://issues.apache.org/jira/browse/AMBARI-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Wagle updated AMBARI-2098:
------------------------------------
Attachment: AMBARI-2098.patch
> Customizing webcat pid run directory fails service status
> ---------------------------------------------------------
>
> Key: AMBARI-2098
> URL: https://issues.apache.org/jira/browse/AMBARI-2098
> Project: Ambari
> Issue Type: Bug
> Components: agent
> Affects Versions: 1.3.0
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 1.3.0
>
> Attachments: AMBARI-2098.patch
>
>
> Installed a cluster, customized all user accounts, and all log and pid directories (added an 'xx' to everything)
> WebHCat service shows a stopped in UI.
> The process is running on the host though
> There is no /var/run/webhcatxx
> Then if I try to start via UI, gets the error below
> notice: /Stage[2]/Hdp-templeton::Service/Hdp::Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/returns: webhcat: /usr/lib/hadoop/bin/hadoop jar /usr/lib/hcatalog/sbin/../share/webhcat/svr//webhcat-0.5.0.24.jar org.apache.hcatalog.templeton.Main
> notice: /Stage[2]/Hdp-templeton::Service/Hdp::Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/returns: webhcat: failed to start. Check logs in /var/log/webhcatXX
> err: /Stage[2]/Hdp-templeton::Service/Hdp::Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/returns: change from notrun to 0 failed: su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start' returned 1 instead of one of [0] at /var/lib/ambari-agent/puppet/modules/hdp/manifests/init.pp:340
> notice: /Stage[2]/Hdp-templeton::Service/Hdp::Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/Anchor[hdp::exec::su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start'::end]: Dependency Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start'] has failures: true
> warning: /Stage[2]/Hdp-templeton::Service/Hdp::Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start']/Anchor[hdp::exec::su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start'::end]: Skipping because of failed dependencies
> notice: /Stage[2]/Hdp-templeton::Service/Anchor[hdp-templeton::service::end]: Dependency Exec[su - webhcatxx -c 'env HADOOP_HOME= /usr/lib/hcatalog/sbin/webhcat_server.sh start'] has failures: true
> warning: /Stage[2]/Hdp-templeton::Service/Anchor[hdp-templeton::service::end]: Skipping because of failed dependencies
> notice: Finished catalog run in 28.09 seconds
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira