ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 34858: Move Oozie server failed because fast-hdfs-resource.jar is missing
Date Sun, 31 May 2015 15:48:56 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34858/
-----------------------------------------------------------

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message