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

RU failed on RESTART Oozie Server because hadoop-lzo should only be copied if lzo compression is enabled

    XMLWordPrintableJSON

Details

    Description

      STR:
      Deploy a cluster with Oozie
      Confirm that lzo compression is not enabled ( http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.0.0/bk_ambari_reference/content/ambari-ref-lzo-configure.html)
      Comment a Rolling Upgrade, which will fail in Oozie because it will not find the hadoop-lzo jar.

      The jar should only be copied if lzo is enabled.

      2015-03-11 21:32:49,019 - u"Execute['hdp-select set oozie-server 2.2.2.0-2591']" {}
      2015-03-11 21:32:49,064 - Restoring Oozie configuration directory after upgrade...
      2015-03-11 21:32:49,065 - Extracting /tmp/oozie-upgrade-backup/oozie-conf-backup.tar to /etc/oozie/conf
      2015-03-11 21:32:49,179 - Error while executing command 'restart':
      Traceback (most recent call last):
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 214, in execute
          method(env)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 365, in restart
          self.pre_rolling_restart(env)
        File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 165, in pre_rolling_restart
          oozie_server_upgrade.prepare_libext_directory()
        File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py", line 141, in prepare_libext_directory
          hadoop_client_new_lib_dir, hadoop_lzo_pattern))
      Fail: There are no files at /usr/hdp/2.2.2.0-2591/hadoop/lib matching hadoop-lzo*.jar
      2015-03-11 21:32:49,235 - Command: /usr/bin/hdp-select status oozie-server > /tmp/tmpVfVrGL
      Output: oozie-server - 2.2.2.0-2591
      

      Attachments

        1. AMBARI-10055.patch
          13 kB
          Alejandro Fernandez

        Issue Links

          Activity

            People

              afernandez Alejandro Fernandez
              afernandez Alejandro Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: