ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7578) Unable to start App Timeline Server
Date Fri, 03 Oct 2014 11:42:35 GMT

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

Dmytro Sen commented on AMBARI-7578:
------------------------------------

The issue AMBARI-7557 has been solved by moving rpm_version property from hadoop-env to cluster-env
configuration. So there is no more need to deploy HDFS services as dependency, if user needs
only Zookeeper + Storm

> Unable to start App Timeline Server
> -----------------------------------
>
>                 Key: AMBARI-7578
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7578
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 1.7.0
>            Reporter: Krisztian Horvath
>            Priority: Critical
>             Fix For: 1.7.0
>
>
> This issue looks the same as with [Zookeeper](https://issues.apache.org/jira/browse/AMBARI-7557)
> stderr: 
> 2014-10-01 01:03:59,246 - 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/YARN/package/scripts/application_timeline_server.py",
line 42, in start
>     service('timelineserver', action='start')
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py",
line 59, in service
>     initial_wait=5
>   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 'ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid >/dev/null
2>&1 && ps `cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid` >/dev/null
2>&1' returned 1.
>  stdout:
> 2014-10-01 01:03:52,594 - Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;
    curl -kf -x "" --retry 10     http://amb0.mycorp.kom:8080/resources//UnlimitedJCEPolicyJDK7.zip
-o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment':
..., 'not_if': 'test -e /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip',
'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
> 2014-10-01 01:03:52,603 - Skipping Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;
    curl -kf -x "" --retry 10     http://amb0.mycorp.kom:8080/resources//UnlimitedJCEPolicyJDK7.zip
-o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
> 2014-10-01 01:03:52,703 - Directory['/etc/hadoop/conf.empty'] {'owner': 'root', 'group':
'root', 'recursive': True}
> 2014-10-01 01:03:52,705 - Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf',
'to': '/etc/hadoop/conf.empty'}
> 2014-10-01 01:03:52,714 - Skipping Link['/etc/hadoop/conf'] due to not_if
> 2014-10-01 01:03:52,725 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...),
'owner': 'hdfs'}
> 2014-10-01 01:03:52,726 - XmlConfig['core-site.xml'] {'owner': 'hdfs', 'group': 'hadoop',
'conf_dir': '/etc/hadoop/conf', 'configuration_attributes': ..., 'configurations': ...}
> 2014-10-01 01:03:52,736 - Generating config: /etc/hadoop/conf/core-site.xml
> 2014-10-01 01:03:52,736 - File['/etc/hadoop/conf/core-site.xml'] {'owner': 'hdfs', 'content':
InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:52,737 - Writing File['/etc/hadoop/conf/core-site.xml'] because contents
don't match
> 2014-10-01 01:03:52,746 - Execute['/bin/echo 0 > /selinux/enforce'] {'only_if': 'test
-f /selinux/enforce'}
> 2014-10-01 01:03:52,755 - Skipping Execute['/bin/echo 0 > /selinux/enforce'] due to
only_if
> 2014-10-01 01:03:52,757 - Execute['mkdir -p /usr/lib/hadoop/lib/native/Linux-i386-32;
ln -sf /usr/lib/libsnappy.so /usr/lib/hadoop/lib/native/Linux-i386-32/libsnappy.so'] {}
> 2014-10-01 01:03:52,769 - Execute['mkdir -p /usr/lib/hadoop/lib/native/Linux-amd64-64;
ln -sf /usr/lib64/libsnappy.so /usr/lib/hadoop/lib/native/Linux-amd64-64/libsnappy.so'] {}
> 2014-10-01 01:03:52,779 - Directory['/var/log/hadoop'] {'owner': 'root', 'group': 'hadoop',
'mode': 0775, 'recursive': True}
> 2014-10-01 01:03:52,780 - Directory['/var/run/hadoop'] {'owner': 'root', 'group': 'root',
'recursive': True}
> 2014-10-01 01:03:52,780 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'recursive':
True}
> 2014-10-01 01:03:52,785 - File['/etc/hadoop/conf/commons-logging.properties'] {'content':
Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
> 2014-10-01 01:03:52,786 - File['/etc/hadoop/conf/health_check'] {'content': Template('health_check-v2.j2'),
'owner': 'hdfs'}
> 2014-10-01 01:03:52,787 - File['/etc/hadoop/conf/log4j.properties'] {'content': '...',
'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
> 2014-10-01 01:03:52,788 - File['/etc/hadoop/conf/hadoop-metrics2.properties'] {'content':
Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs'}
> 2014-10-01 01:03:52,789 - File['/etc/hadoop/conf/task-log4j.properties'] {'content':
StaticFile('task-log4j.properties'), 'mode': 0755}
> 2014-10-01 01:03:52,789 - File['/etc/hadoop/conf/configuration.xsl'] {'owner': 'hdfs',
'group': 'hadoop'}
> 2014-10-01 01:03:53,040 - Directory['/var/run/hadoop-yarn/yarn'] {'owner': 'yarn', 'group':
'hadoop', 'recursive': True}
> 2014-10-01 01:03:53,041 - Directory['/var/log/hadoop-yarn/yarn'] {'owner': 'yarn', 'group':
'hadoop', 'recursive': True}
> 2014-10-01 01:03:53,042 - Directory['/var/run/hadoop-mapreduce/mapred'] {'owner': 'mapred',
'group': 'hadoop', 'recursive': True}
> 2014-10-01 01:03:53,042 - Directory['/var/log/hadoop-mapreduce/mapred'] {'owner': 'mapred',
'group': 'hadoop', 'recursive': True}
> 2014-10-01 01:03:53,042 - Directory['/hadoop/yarn/local'] {'owner': 'yarn', 'ignore_failures':
True, 'recursive': True}
> 2014-10-01 01:03:53,043 - Directory['/hadoop/yarn/log'] {'owner': 'yarn', 'ignore_failures':
True, 'recursive': True}
> 2014-10-01 01:03:53,043 - Directory['/var/log/hadoop-yarn'] {'owner': 'yarn', 'ignore_failures':
True, 'recursive': True}
> 2014-10-01 01:03:53,043 - XmlConfig['core-site.xml'] {'group': 'hadoop', 'conf_dir':
'/etc/hadoop/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hdfs', 'configurations':
...}
> 2014-10-01 01:03:53,057 - Generating config: /etc/hadoop/conf/core-site.xml
> 2014-10-01 01:03:53,057 - File['/etc/hadoop/conf/core-site.xml'] {'owner': 'hdfs', 'content':
InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:53,058 - Writing File['/etc/hadoop/conf/core-site.xml'] because contents
don't match
> 2014-10-01 01:03:53,059 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir':
'/etc/hadoop/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'yarn', 'configurations':
...}
> 2014-10-01 01:03:53,069 - Generating config: /etc/hadoop/conf/mapred-site.xml
> 2014-10-01 01:03:53,069 - File['/etc/hadoop/conf/mapred-site.xml'] {'owner': 'yarn',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:53,071 - Writing File['/etc/hadoop/conf/mapred-site.xml'] because contents
don't match
> 2014-10-01 01:03:53,071 - Changing owner for /etc/hadoop/conf/mapred-site.xml from 495
to yarn
> 2014-10-01 01:03:53,071 - XmlConfig['yarn-site.xml'] {'group': 'hadoop', 'conf_dir':
'/etc/hadoop/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'yarn', 'configurations':
...}
> 2014-10-01 01:03:53,081 - Generating config: /etc/hadoop/conf/yarn-site.xml
> 2014-10-01 01:03:53,081 - File['/etc/hadoop/conf/yarn-site.xml'] {'owner': 'yarn', 'content':
InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:53,083 - Writing File['/etc/hadoop/conf/yarn-site.xml'] because contents
don't match
> 2014-10-01 01:03:53,083 - XmlConfig['capacity-scheduler.xml'] {'group': 'hadoop', 'conf_dir':
'/etc/hadoop/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'yarn', 'configurations':
...}
> 2014-10-01 01:03:53,093 - Generating config: /etc/hadoop/conf/capacity-scheduler.xml
> 2014-10-01 01:03:53,093 - File['/etc/hadoop/conf/capacity-scheduler.xml'] {'owner': 'yarn',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:53,094 - Writing File['/etc/hadoop/conf/capacity-scheduler.xml'] because
contents don't match
> 2014-10-01 01:03:53,094 - Changing owner for /etc/hadoop/conf/capacity-scheduler.xml
from 496 to yarn
> 2014-10-01 01:03:53,094 - Directory['/var/log/hadoop-yarn/timeline'] {'owner': 'yarn',
'group': 'hadoop', 'recursive': True}
> 2014-10-01 01:03:53,095 - Creating directory Directory['/var/log/hadoop-yarn/timeline']
> 2014-10-01 01:03:53,095 - Changing owner for /var/log/hadoop-yarn/timeline from 0 to
yarn
> 2014-10-01 01:03:53,095 - Changing group for /var/log/hadoop-yarn/timeline from 0 to
hadoop
> 2014-10-01 01:03:53,095 - File['/etc/hadoop/conf/yarn.exclude'] {'owner': 'yarn', 'group':
'hadoop'}
> 2014-10-01 01:03:53,098 - File['/etc/security/limits.d/yarn.conf'] {'content': Template('yarn.conf.j2'),
'mode': 0644}
> 2014-10-01 01:03:53,100 - File['/etc/security/limits.d/mapreduce.conf'] {'content': Template('mapreduce.conf.j2'),
'mode': 0644}
> 2014-10-01 01:03:53,105 - File['/etc/hadoop/conf/yarn-env.sh'] {'content': InlineTemplate(...),
'owner': 'yarn', 'group': 'hadoop', 'mode': 0755}
> 2014-10-01 01:03:53,107 - File['/etc/hadoop/conf/mapred-env.sh'] {'content': InlineTemplate(...),
'owner': 'hdfs'}
> 2014-10-01 01:03:53,109 - File['/etc/hadoop/conf/taskcontroller.cfg'] {'content': Template('taskcontroller.cfg.j2'),
'owner': 'hdfs'}
> 2014-10-01 01:03:53,110 - XmlConfig['mapred-site.xml'] {'owner': 'mapred', 'group': 'hadoop',
'conf_dir': '/etc/hadoop/conf', 'configuration_attributes': ..., 'configurations': ...}
> 2014-10-01 01:03:53,120 - Generating config: /etc/hadoop/conf/mapred-site.xml
> 2014-10-01 01:03:53,120 - File['/etc/hadoop/conf/mapred-site.xml'] {'owner': 'mapred',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:53,121 - Changing owner for /etc/hadoop/conf/mapred-site.xml from 497
to mapred
> 2014-10-01 01:03:53,122 - XmlConfig['capacity-scheduler.xml'] {'owner': 'hdfs', 'group':
'hadoop', 'conf_dir': '/etc/hadoop/conf', 'configuration_attributes': ..., 'configurations':
...}
> 2014-10-01 01:03:53,131 - Generating config: /etc/hadoop/conf/capacity-scheduler.xml
> 2014-10-01 01:03:53,132 - File['/etc/hadoop/conf/capacity-scheduler.xml'] {'owner': 'hdfs',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'}
> 2014-10-01 01:03:53,132 - Changing owner for /etc/hadoop/conf/capacity-scheduler.xml
from 497 to hdfs
> 2014-10-01 01:03:53,133 - File['/etc/hadoop/conf/ssl-client.xml.example'] {'owner': 'mapred',
'group': 'hadoop'}
> 2014-10-01 01:03:53,133 - File['/etc/hadoop/conf/ssl-server.xml.example'] {'owner': 'mapred',
'group': 'hadoop'}
> 2014-10-01 01:03:53,134 - File['/var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid']
{'action': ['delete'], 'not_if': 'ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid
>/dev/null 2>&1 && ps `cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid`
>/dev/null 2>&1'}
> 2014-10-01 01:03:53,144 - Execute['ulimit -c unlimited; export HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec
&& /usr/lib/hadoop-yarn/sbin/yarn-daemon.sh --config /etc/hadoop/conf start timelineserver']
{'not_if': 'ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid >/dev/null 2>&1
&& ps `cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid` >/dev/null 2>&1',
'user': 'yarn'}
> 2014-10-01 01:03:54,194 - Execute['ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid
>/dev/null 2>&1 && ps `cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid`
>/dev/null 2>&1'] {'initial_wait': 5, 'not_if': 'ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid
>/dev/null 2>&1 && ps `cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid`
>/dev/null 2>&1', 'user': 'yarn'}
> 2014-10-01 01:03:59,246 - 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/YARN/package/scripts/application_timeline_server.py",
line 42, in start
>     service('timelineserver', action='start')
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py",
line 59, in service
>     initial_wait=5
>   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 'ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid >/dev/null
2>&1 && ps `cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid` >/dev/null
2>&1' returned 1.



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

Mime
View raw message