Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3BA0FC34 for ; Wed, 8 May 2013 20:33:15 +0000 (UTC) Received: (qmail 23402 invoked by uid 500); 8 May 2013 20:33:15 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 23313 invoked by uid 500); 8 May 2013 20:33:15 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 23300 invoked by uid 99); 8 May 2013 20:33:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 20:33:15 +0000 Date: Wed, 8 May 2013 20:33:15 +0000 (UTC) From: "Siddharth Wagle (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-2098) Customizing webcat pid run directory fails service status MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Siddharth Wagle created AMBARI-2098: --------------------------------------- Summary: 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 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