Created 12-15-2017 12:51 PM
I was trying to start Atlas service in My cluster but I have got this error:
Source file /usr/hdp/current/atlas-server/server/webapp/atlas.war is not found
I have checked this file on the node but I could not find it. this is the whole message error:
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py", line 181, in <module> MetadataServer().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py", line 72, in start self.configure(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 119, in locking_configure original_configure(obj, *args, **kw) File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py", line 58, in configure metadata() File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py", line 89, in metadata content = StaticFile(format('{metadata_home}/server/webapp/atlas.war')) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 123, in action_create content = self._get_content() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 160, in _get_content return content() File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 52, in __call__ return self.get_content() File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 76, in get_content raise Fail("{0} Source file {1} is not found".format(repr(self), path)) resource_management.core.exceptions.Fail: StaticFile('/usr/hdp/current/atlas-server/server/webapp/atlas.war') Source file /usr/hdp/current/atlas-server/server/webapp/atlas.war is not found
Created 12-15-2017 03:20 PM
Can you please try the following
1)Run the below command on Atlas metadata server node and try installing all the available packages which the below command returns
yum --show-duplicates list atlas*
(or)
2) Try installing Atlas on the node where none of the hive components are installed.
Thanks,
Aditya
Created 12-18-2017 12:49 AM
The following error can occur if the Atlas binaries are not completely installed successfully.
It also might be happening because you might be having incorrect repo file inside "/etc/yum/repos.d" for the HDP components. Just for example you might be using RHEL7 but the repo might be el6 (instead of el7).
raise Fail("{0} Source file {1} is not found".format(repr(self), path))resource_management.core.exceptions.Fail: StaticFile('/usr/hdp/current/atlas-server/server/webapp/atlas.war') Source file /usr/hdp/current/atlas-server/server/webapp/atlas.war is not found
.
So please try reinstalling atlas on the host again:
# rpm -qa | grep atlas-metadata # yum clean all # yum reinstall atlas-metadata
.