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 1B0FE18082 for ; Sun, 31 May 2015 15:49:51 +0000 (UTC) Received: (qmail 47572 invoked by uid 500); 31 May 2015 15:49:50 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 47530 invoked by uid 500); 31 May 2015 15:49:50 -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 47514 invoked by uid 99); 31 May 2015 15:49:50 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 May 2015 15:49:50 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 140FF1D3A68; Sun, 31 May 2015 15:49:49 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2475599706866648352==" MIME-Version: 1.0 Subject: Re: Review Request 34858: Move Oozie server failed because fast-hdfs-resource.jar is missing From: "Mahadev Konar" To: "Mahadev Konar" Cc: "Andrew Onischuk" , "Ambari" Date: Sun, 31 May 2015 15:49:49 -0000 Message-ID: <20150531154949.3246.29633@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Mahadev Konar" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/34858/ X-Sender: "Mahadev Konar" References: <20150531154856.3245.53944@reviews.apache.org> In-Reply-To: <20150531154856.3245.53944@reviews.apache.org> Reply-To: "Mahadev Konar" X-ReviewRequest-Repository: ambari --===============2475599706866648352== 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/34858/#review85906 ----------------------------------------------------------- Ship it! Ship It! - Mahadev Konar On May 31, 2015, 3:48 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34858/ > ----------------------------------------------------------- > > (Updated May 31, 2015, 3:48 p.m.) > > > Review request for Ambari and Mahadev Konar. > > > Bugs: AMBARI-11569 > https://issues.apache.org/jira/browse/AMBARI-11569 > > > Repository: ambari > > > Description > ------- > > STR: > > * Deployed cluster with Ambari 2.1.0 at build 1520 > * Installed HDP 2.3.0.0 at build 1951 with Oozie Server and all of its dependencies > * Added another host with no components on it > * Used the Move Oozie server wizard to move it to the new host > > Should fast-hdfs-resource.jar ship with the stack? Or with ambari-agent? > > Error: > > > > > 2015-05-12 21:43:29,058 - Error while executing command 'start': > 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 "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 58, in start > self.configure(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 52, in configure > oozie(is_server=True) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 94, in oozie > params.HdfsResource(None, action="execute") > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 114, in action_execute > logoutput=logoutput, > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 269, in action_run > raise ex > Fail: Execution of 'hadoop --config /usr/hdp/current/hadoop-client/conf jar /var/lib/ambari-agent/lib/fast-hdfs-resource.jar /var/lib/ambari-agent/data/hdfs_resources.json' returned 255. WARNING: Use "yarn jar" to launch YARN applications. > Not a valid JAR: /var/lib/ambari-agent/lib/fast-hdfs-resource.jar > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py ac9a0e2 > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/files/fast-hdfs-resource.jar defde28 > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs.py fa7f399 > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar PRE-CREATION > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py 0fee25b > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py f04c6a0 > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py d594dcf > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py 469beef > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py b7126fd > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_nfsgateway.py c84902f > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py 543a0e4 > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py 1de19f3 > > Diff: https://reviews.apache.org/r/34858/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > > --===============2475599706866648352==--