Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1901617687 for ; Tue, 13 Jan 2015 18:55:30 +0000 (UTC) Received: (qmail 36259 invoked by uid 500); 13 Jan 2015 18:55:31 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 36226 invoked by uid 500); 13 Jan 2015 18:55:31 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 36212 invoked by uid 99); 13 Jan 2015 18:55:31 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 18:55:31 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 7D7791D321A; Tue, 13 Jan 2015 18:55:28 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4974900303321138706==" MIME-Version: 1.0 Subject: Review Request 29858: Manual Upgrade Tasks Should Be More Explicit And Parameterized From: "Jonathan Hurley" To: "Alejandro Fernandez" , "Nate Cole" Cc: "Ambari" , "Jonathan Hurley" Date: Tue, 13 Jan 2015 18:55:28 -0000 Message-ID: <20150113185528.23995.88041@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Jonathan Hurley" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/29858/ X-Sender: "Jonathan Hurley" Reply-To: "Jonathan Hurley" X-ReviewRequest-Repository: ambari --===============4974900303321138706== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29858/ ----------------------------------------------------------- Review request for Ambari, Alejandro Fernandez and Nate Cole. Bugs: AMBARI-9109 https://issues.apache.org/jira/browse/AMBARI-9109 Repository: ambari Description ------- For Hive upgrade, the following manual step was shown: {noformat} Run the SQL file at /usr/hdp/$version/hive/scripts/metastore/upgrade to update the Hive Metastore schema. {noformat} This is too vague. I could not figure out what to do. 1. It should tell the user exactly which host this needs to be done on. 2. $version should be substituted with the actual directory name. 3. There are 40+ SQL files in the aforementioned "upgrade" folder. What's the exact command that I need to run? All services that use Manual Tasks as part of the upgrade should be revisited once the parameterization code is completed to ensure that the messages are correct. These include: Hive, Falcon, Oozie, HDFS Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeGroupResourceProvider.java 4df0f9c ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeItemResourceProvider.java 46d0dd4 ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java b8d8502 ambari-server/src/main/java/org/apache/ambari/server/stack/MasterHostResolver.java b453362 ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java 5882e3e ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeHelper.java ac30762 ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml c110a0b ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java 53505f2 ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_bucket_test.xml b777d94 ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test.xml aee1fcf Diff: https://reviews.apache.org/r/29858/diff/ Testing ------- New tests written, full tests pending... Thanks, Jonathan Hurley --===============4974900303321138706==--