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 BFEBF10A9A for ; Wed, 11 Feb 2015 22:42:07 +0000 (UTC) Received: (qmail 85548 invoked by uid 500); 11 Feb 2015 22:42:07 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 85518 invoked by uid 500); 11 Feb 2015 22:42:07 -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 85495 invoked by uid 99); 11 Feb 2015 22:42:07 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 22:42:07 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A0D891CF8F2; Wed, 11 Feb 2015 22:42:06 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6867981482489012904==" MIME-Version: 1.0 Subject: Review Request 30899: Ambari does not upload Tez tarball to HDFS when Tez is installed From: "Alejandro Fernandez" To: "Nate Cole" , "Tom Beerbower" , "Srimanth Gunturi" , "Sumit Mohanty" , "Jonathan Hurley" Cc: "Ambari" , "Alejandro Fernandez" Date: Wed, 11 Feb 2015 22:42:06 -0000 Message-ID: <20150211224206.29075.62361@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Alejandro Fernandez" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/30899/ X-Sender: "Alejandro Fernandez" Reply-To: "Alejandro Fernandez" X-ReviewRequest-Repository: ambari --===============6867981482489012904== 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/30899/ ----------------------------------------------------------- Review request for Ambari, Jonathan Hurley, Nate Cole, Sumit Mohanty, Srimanth Gunturi, and Tom Beerbower. Bugs: AMBARI-9585 https://issues.apache.org/jira/browse/AMBARI-9585 Repository: ambari Description ------- Today, the tez tarball is copied to HDFS only when HiveServer2 is installed, and when the Pig Service check runs. Instead, this should happen whenever Tez is installed. For a RU, the install of new bits should also copy the tarball to HDFS. Diffs ----- ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py abfde14 ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/package/scripts/service_check.py 7137e60 ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez_client.py 00375d7 ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 1fc3fbf ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py 3d74113 Diff: https://reviews.apache.org/r/30899/diff/ Testing ------- Installed a 3-node cluster with HDFS, ZK, MR, YARN, and Tez. Then ensured that the tez tarball was copied to hdfs, su - hdfs -c 'hdfs dfs -ls /hdp/apps/2.2.0.0-2041/tez' When I installed Pig client, on the same host that had the tez client, I was able to run a Pig job, using the following example, http://hortonworks.com/hadoop-tutorial/faster-pig-tez/ I then performed a Rolling Upgrade and the newer tez tarball was indeed copied to HDFS. su - hdfs -c 'hdfs dfs -ls /hdp/apps/2.2.1.0-2260/tez' Unit tests are in progress. Thanks, Alejandro Fernandez --===============6867981482489012904==--