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 6D9AD177F8 for ; Mon, 20 Oct 2014 22:37:34 +0000 (UTC) Received: (qmail 36042 invoked by uid 500); 20 Oct 2014 22:37:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 36006 invoked by uid 500); 20 Oct 2014 22:37:34 -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 35900 invoked by uid 99); 20 Oct 2014 22:37:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2014 22:37:34 +0000 Date: Mon, 20 Oct 2014 22:37:34 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-7825) Rolling Upgrades - hdfs:///apps/tez/tez.tar.gz needs to be versioned MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-7825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Fernandez updated AMBARI-7825: ---------------------------------------- Attachment: (was: AMBARI-7825.patch) > Rolling Upgrades - hdfs:///apps/tez/tez.tar.gz needs to be versioned > -------------------------------------------------------------------- > > Key: AMBARI-7825 > URL: https://issues.apache.org/jira/browse/AMBARI-7825 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 1.7.0 > Reporter: Alejandro Fernandez > Assignee: Alejandro Fernandez > Priority: Blocker > Fix For: 1.7.0, 2.0.0 > > Attachments: AMBARI-7825.patch, AMBARI-7825_branch-1.7.0.patch > > > *HDP 2.2 using versioned RPMs* > When Ambari installs Hive, it copies any file that matches /usr/hdp/current/tez-client/lib/tez*.tar.gz file to hdfs:///apps/tez/tez.tar.gz > (Aside: it also ends up copying other tez-* files that it shouldn't because they are not needed, and already zipped in the tar.gz file) > The problem is that during a rolling upgrade, currently running jobs still needs to reference the same jar files as when they were created. > Today, Hive's install_jars.py and params.py route /usr/hdp/current/tez-client/lib/tez*.tar.gz => tez.tar.gz > Instead, it should preserve the version number when copying to HDFS. > Further, when tez.py generates the tez-site.xml file, it should replace the value of the tez.lib.uris parameter to include the rpm version number in the value, e.g., hdfs:////apps/tez/tez-0.6.0.2.2.0.0-887.tar.gz -- This message was sent by Atlassian JIRA (v6.3.4#6332)