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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment