ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11305) Hive service check fails after moving Webhcat Server
Date Thu, 21 May 2015 17:36:17 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554707#comment-14554707
] 

Hudson commented on AMBARI-11305:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2669 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2669/])
AMBARI-11305 Hive service check fails after moving Webhcat Server (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3b4c7aea6fc010935ea76439a0e08b774c4641cd)
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_service_check.py


> Hive service check fails after moving Webhcat Server
> ----------------------------------------------------
>
>                 Key: AMBARI-11305
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11305
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.1.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11305.patch
>
>
> Ater moving webhcat server hive service check fails with the below error
> {code}
> 2015-05-19 20:42:40,763 - 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 214, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py",
line 78, in service_check
>     webhcat_service_check()
>   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/HIVE/0.12.0.2.0/package/scripts/webhcat_service_check.py",
line 72, in webhcat_service_check
>     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 246, 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 1. WARNING: Use "yarn jar" to launch
YARN applications.
> Using filesystem uri: hdfs://ip-172-31-48-99.ec2.internal:8020
> Creating: Resource [source=/var/lib/ambari-agent/data/tmp/idtest.ambari-qa.1432068155.46.pig,
target=/tmp/idtest.ambari-qa.1432068155.46.pig, type=file, action=create, owner=ambari-qa,
group=null, mode=null, recursiveChown=false, recursiveChmod=false, changePermissionforParents=false]
> Exception in thread "main" java.io.FileNotFoundException: /var/lib/ambari-agent/data/tmp/idtest.ambari-qa.1432068155.46.pig
(Permission denied)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileInputStream.<init>(RawLocalFileSystem.java:106)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.open(RawLocalFileSystem.java:202)
> 	at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:141)
> 	at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:341)
> 	at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:767)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:364)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
> 	at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965)
> 	at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933)
> 	at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1898)
> 	at org.apache.ambari.fast_hdfs_resource.Resource.createResource(Resource.java:206)
> 	at org.apache.ambari.fast_hdfs_resource.Runner.main(Runner.java:77)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> {code}



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

Mime
View raw message