ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 26368: WebHCat server start fails for HDP2.2 if PIG isn't deployed
Date Mon, 06 Oct 2014 16:49:43 GMT

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

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-7652
    https://issues.apache.org/jira/browse/AMBARI-7652


Repository: ambari


Description
-------

webhcat-tar-pig package isn't installed for HDP2.2. Skip copying pig.tar.gz from local FS
during webhcat start, if pig service isn't deployed.
2014-09-29 12:07:24,716 - Error while executing command 'start':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 122, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat_server.py",
line 38, in start
    self.configure(env) # FOR SECURITY
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat_server.py",
line 33, in configure
    webhcat()
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py",
line 105, in webhcat
    hadoop_conf_dir=params.hadoop_conf_dir
  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 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/copy_from_local.py",
line 55, in action_run
    conf_dir=hadoop_conf_path
  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 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py",
line 50, in action_run
    path        = self.resource.bin_dir
  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 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
237, in action_run
    raise ex
Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/hdp/current/pig/pig.tar.gz
/apps/webhcat' retur


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/metainfo.xml 752eac7 

Diff: https://reviews.apache.org/r/26368/diff/


Testing
-------

manual deployment


Thanks,

Dmytro Sen


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