Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-2098

Customizing webcat pid run directory fails service status

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.3
    • ambari-agent
    • None

    Description

      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

      Attachments

        1. AMBARI-2098.patch
          0.9 kB
          Siddharth Wagle

        Activity

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: