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

When hive and oozie users have been changed after upgrade hive metastore and oozie cannot start properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.4
    • 1.2.4
    • None
    • None

    Description

      Oozie start failure:

      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Setting OOZIE_BASE_URL:      http://ip-10-212-166-111.ec2.internal:11000/oozie^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Using   CATALINA_BASE:       /var/lib/oozie/oozie-server^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Setting OOZIE_HTTPS_KEYSTORE_FILE:     /home/ooziexx/.keystore^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Setting OOZIE_HTTPS_KEYSTORE_PASS:     password^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Setting CATALINA_OUT:        /var/log/oozie//catalina.out^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Using   CATALINA_PID:        /var/run/oozie/oozie.pid^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: ^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Using   CATALINA_OPTS:        -Dderby.stream.error.file=/var/log/oozie//derby.log^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: Adding to CATALINA_OPTS:     -Doozie.home.dir=/usr/lib/oozie -Doozie.config.dir=/etc/oozie/conf -Doozie.log.dir=/var/log/oozie/ -Doozie.data.dir=/grid/0/hadoop/oozie/data/ -Doozie.config.file=oozie-site.xml -Doozie.log4j.file=oozie-log4j.properties -Doozie.log4j.reload=10 -Doozie.http.hostname=ip-10-212-166-111.ec2.internal -Doozie.admin.port=11001 -Doozie.http.port=11000 -Doozie.https.port=11443 -Doozie.base.url=http://ip-10-212-166-111.ec2.internal:11000/oozie -Doozie.https.keystore.file=/home/ooziexx/.keystore -Doozie.https.keystore.pass=password -Djava.library.path=/usr/lib/hadoop/lib/native/Linux-amd64-64^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: ^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: /usr/lib/oozie/oozie-server/bin/catalina.sh: line 386: /var/run/oozie/oozie.pid: Permission denied^[[0m
      ^[[1;35merr: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/returns: change from notrun to 0 failed: su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh' returned 1 instead of one of [0] at /var/lib/ambari-agent/puppet/modules/hdp/manifests/init.pp:340^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Anchor[hdp::exec::exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'::end]: Dependency Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'] has failures: true^[[0m
      ^[[0;33mwarning: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh']/Anchor[hdp::exec::exec su - ooziexx -c  'cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh'::end]: Skipping because of failed dependencies^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp-oozie::Service::Directory[/var/log/oozie]/Hdp::Directory_recursive_create[/var/log/oozie]/Hdp::Directory[/var/log/oozie]/File[/var/log/oozie]/owner: owner changed 'oozie' to 'ooziexx'^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp-oozie::Service::Directory[/var/log/oozie]/Hdp::Directory_recursive_create[/var/log/oozie]/Hdp::Directory[/var/log/oozie]/File[/var/log/oozie]/group: group changed 'oozie' to 'hadoopxx'^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp-oozie::Service::Directory[/var/run/oozie]/Hdp::Directory_recursive_create[/var/run/oozie]/Hdp::Directory[/var/run/oozie]/File[/var/run/oozie]/owner: owner changed 'oozie' to 'ooziexx'^[[0m
      ^[[0;36mnotice: /Stage[2]/Hdp-oozie::Service/Hdp-oozie::Service::Directory[/var/run/oozie]/Hdp::Directory_recursive_create[/var/run/oozie]/Hdp::Directory[/var/run/oozie]/File[/var/run/oozie]/group: group changed 'oozie' to 'hadoopxx'^[[0m
      ^[[0;36mnotice: Finished catalog run in 9.36 seconds^[[0m
      

      Attachments

        1. AMBARI-2146.patch
          1 kB
          Sumit Mohanty

        Activity

          People

            sumitmohanty Sumit Mohanty
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: