Support Questions

Find answers, ask questions, and share your expertise

ATLAS Metadata Server fails to start on HDP 2.6

Expert Contributor

I have a clean install of HDP 2.6 but the Atlas Metadata Server has failed to start. The dependent services (Hbase, Kafka and Ambari Infra) are all started. Please find the error message below;

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/ATLAS/", line 259, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 314, in execute
  File "/var/lib/ambari-agent/cache/common-services/ATLAS/", line 117, in start
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 155, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124, in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line 262, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 303, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'source /usr/hdp/current/atlas-server/conf/ ; /usr/hdp/current/atlas-server/bin/' returned 255. Exception: [Errno 2] No such file or directory 
Traceback (most recent call last):
  File "/usr/hdp/current/atlas-server/bin/", line 149, in <module>
    returncode = main()
  File "/usr/hdp/current/atlas-server/bin/", line 73, in main
  File "/usr/hdp/", line 143, in expandWebApp
  File "/usr/hdp/", line 196, in jar
    process = runProcess(commandline)
  File "/usr/hdp/", line 232, in runProcess
    p = subprocess.Popen(commandline, stdout=stdoutFile, stderr=stderrFile, shell=shell)
  File "/usr/lib64/python2.6/", line 642, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/", line 1238, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Expert Contributor
@Joshua Adeleke, could you confirm if the following files exist in your cluster:



The error mentions about file/directory not found. If the files exists, could you share the atlas logs here from /var/log/atlas/application.log.

Expert Contributor

@Sarath Subramanian The and files exist but there is no log generated.

New Contributor

@Sarath Subramanian

I experience the same problem. The above mentioned files exist. The contents of the Atlas .err file in the log directory has the following content:


log4j:WARN Continuable parsing error 37 and column 14

log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,r


log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppende


log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppende




Hi ,

The files you mentioned are not available on the node on which the atlas has been installed. Can you please suggest. 

Super Collaborator

I know this is an old question, but someone may benefit from my answer. The problem is that the atlas.war file did not extract properly.

Fix it like this:

ls /usr/hdp/current/atlas-server/server/webapp/atlas

If the war did not get extracted properly, you will see no files in this directory. If that's the case, do this:

su - atlas
cd /usr/hdp/current/atlas-server/server/webapp/atlas
jar xvf ../atlas.jar

Now you can start Atlas.

New Contributor

In addition to the fix from james.jones, you may also need to manually work around the bug AMBARI-18368, whose detailed instructions are here:

Super Collaborator
@William Lu


Super Collaborator

the command is

jar xvf ../atlas.war