You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Martin Bukatovic (JIRA)" <ji...@apache.org> on 2015/03/12 17:00:43 UTC
[jira] [Updated] (AMBARI-9442) HDFS and Hive services checks fail
when default FS is not HDFS
[ https://issues.apache.org/jira/browse/AMBARI-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Bukatovic updated AMBARI-9442:
-------------------------------------
Labels: hcfs (was: )
> HDFS and Hive services checks fail when default FS is not HDFS
> --------------------------------------------------------------
>
> Key: AMBARI-9442
> URL: https://issues.apache.org/jira/browse/AMBARI-9442
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Affects Versions: 2.0.0
> Reporter: Ivan Mitic
> Assignee: Ivan Mitic
> Labels: hcfs
> Attachments: AMBARI-9442.patch
>
>
> HDFS service check fails with:
> {code}
> 2015-01-27 09:15:54,459 - Error while executing command 'service_check':
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/service_check.py", line 53, in service_check
> bin_dir=params.hadoop_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 151, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 117, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py", line 55, in action_run
> environment = self.resource.environment,
> 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 151, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 117, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 277, in action_run
> raise ex
> Fail: Execution of 'hadoop --config /etc/hadoop/conf dfsadmin -safemode get | grep OFF' returned 1. DEPRECATED: Use of this script to execute hdfs command is deprecated.
> Instead use the hdfs command for it.
> {code}
> Hive service check fails with:
> {code}
> 2015-01-26 04:03:39,082 - Error while executing command 'service_check':
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 55, in service_check
> hcat_service_check()
> File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_service_check.py", line 69, in hcat_service_check
> bin_dir=params.execute_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 151, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 117, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py", line 55, in action_run
> environment = self.resource.environment,
> 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 151, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 117, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 277, in action_run
> raise ex
> Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -test -e /apps/hive/warehouse/hcatsmokeid000a0d00_date022615' returned 1.
> stdout:
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)