You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2014/10/06 18:46:34 UTC

[jira] [Created] (AMBARI-7652) WebHCat server start fails for HDP2.2 if PIG isn't deployed

Dmytro Sen created AMBARI-7652:
----------------------------------

             Summary: WebHCat server start fails for HDP2.2 if PIG isn't deployed
                 Key: AMBARI-7652
                 URL: https://issues.apache.org/jira/browse/AMBARI-7652
             Project: Ambari
          Issue Type: Bug
          Components: stacks
    Affects Versions: 1.7.0
         Environment: HDP2.2
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
             Fix For: 1.7.0


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.
{noformat}
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' returned 1. copyFromLocal: `/usr/hdp/current/pig/pig.tar.gz': No such file or directory
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)