ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <>
Subject [jira] [Commented] (AMBARI-14949) Ambaripreupload should skip uploading oozie shared lib for upgrade
Date Fri, 05 Feb 2016 22:28:39 GMT


Andrew Onischuk commented on AMBARI-14949:

+  parser.add_option("-u", "--upgrade", dest="upgrade", action="store_true",
+                    help="flag to indicate script is being run for upgrade", default=False)

If -v is specified this is upgrade else it's not (and the current version is taken).  This
is the way we designed this in the first place.

+  if options.upgrade:
+"Skipping uploading oozie shared lib during upgrade")
+  else:
+    raise Exception("Incorrect Logic!")
Also unsure if we need to raise exception here.

> Ambaripreupload should skip uploading oozie shared lib for upgrade
> ------------------------------------------------------------------
>                 Key: AMBARI-14949
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>            Priority: Critical
>             Fix For: 2.2.2
>         Attachments: AMBARI-14949.patch
> In syspreped clusters, while running RU Oozie service checks before upgrade Oozie will
> This is because Ambaripreupload will overwrite the old version oozie shared lib in HDFS
with new version.
> We should add additional flag (--upgrade) to skip uploading oozie shared lib when Ambaripreupload
needs to be run before upgrades.

This message was sent by Atlassian JIRA

View raw message