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-7557) Unable to start Zookeeper with HDP-2.2
Date Tue, 30 Sep 2014 15:08:33 GMT

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

Hudson commented on AMBARI-7557:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #421 (See [https://builds.apache.org/job/Ambari-trunk-Commit/421/])
AMBARI-7557 Unable to start Zookeeper with HDP-2.2 (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d8f4b1e5908f6810501659489b8ede3372e6c357)
* ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.2/configuration/cluster-env.xml
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
* ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py
* ambari-web/app/data/HDP2/site_properties.js
* ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/package/scripts/params.py


> Unable to start Zookeeper with HDP-2.2
> --------------------------------------
>
>                 Key: AMBARI-7557
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7557
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 1.7.0
>         Environment: HDP2.2
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 1.7.0
>
>
> it seems like we have some problem with zookeeper rpm in stack HDP-2.2
> STR:
> select only Zookeeper and Storm  services to deploy
> {code}
> stderr: 
> 2014-09-27 08:50:35,436 - 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/ZOOKEEPER/package/scripts/zookeeper_server.py",
line 41, in start
>     zookeeper_service(action = 'start')
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_service.py",
line 34, in zookeeper_service
>     user=params.zk_user
>   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 'source /etc/zookeeper/conf/zookeeper-env.sh ; env ZOOCFGDIR=/etc/zookeeper/conf
ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh start' returned 127. env: /usr/lib/zookeeper/bin/zkServer.sh:
No such file or directory
>  stdout:
> 2014-09-27 08:50:34,739 - Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;
    curl -kf -x "" --retry 10     http://c6401.ambari.apache.org: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-09-27 08:50:34,752 - Skipping Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;
    curl -kf -x "" --retry 10     http://c6401.ambari.apache.org:8080/resources//UnlimitedJCEPolicyJDK7.zip
-o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
> 2014-09-27 08:50:34,914 - Execute['/bin/echo 0 > /selinux/enforce'] {'only_if': 'test
-f /selinux/enforce'}
> 2014-09-27 08:50:34,927 - Skipping Execute['/bin/echo 0 > /selinux/enforce'] due to
only_if
> 2014-09-27 08:50:34,930 - 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-09-27 08:50:34,950 - 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-09-27 08:50:35,125 - Directory['/etc/zookeeper/conf'] {'owner': 'zookeeper', 'group':
'hadoop', 'recursive': True}
> 2014-09-27 08:50:35,131 - File['/etc/zookeeper/conf/zookeeper-env.sh'] {'owner': 'zookeeper',
'content': InlineTemplate(...), 'group': 'hadoop'}
> 2014-09-27 08:50:35,141 - File['/etc/zookeeper/conf/zoo.cfg'] {'owner': 'zookeeper',
'content': Template('zoo.cfg.j2'), 'group': 'hadoop'}
> 2014-09-27 08:50:35,144 - File['/etc/zookeeper/conf/configuration.xsl'] {'owner': 'zookeeper',
'content': Template('configuration.xsl.j2'), 'group': 'hadoop'}
> 2014-09-27 08:50:35,144 - Directory['/var/run/zookeeper'] {'owner': 'zookeeper', 'group':
'hadoop', 'recursive': True}
> 2014-09-27 08:50:35,145 - Directory['/var/log/zookeeper'] {'owner': 'zookeeper', 'group':
'hadoop', 'recursive': True}
> 2014-09-27 08:50:35,145 - Directory['/hadoop/zookeeper'] {'owner': 'zookeeper', 'group':
'hadoop', 'recursive': True}
> 2014-09-27 08:50:35,146 - File['/hadoop/zookeeper/myid'] {'content': '1', 'mode': 0644}
> 2014-09-27 08:50:35,146 - File['/etc/zookeeper/conf/log4j.properties'] {'content': '...',
'owner': 'zookeeper', 'group': 'hadoop', 'mode': 0644}
> 2014-09-27 08:50:35,146 - File['/etc/zookeeper/conf/zoo_sample.cfg'] {'owner': 'zookeeper',
'group': 'hadoop'}
> 2014-09-27 08:50:35,148 - Execute['source /etc/zookeeper/conf/zookeeper-env.sh ; env
ZOOCFGDIR=/etc/zookeeper/conf ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh start'] {'not_if':
'ls /var/run/zookeeper/zookeeper_server.pid >/dev/null 2>&1 && ps `cat /var/run/zookeeper/zookeeper_server.pid`
>/dev/null 2>&1', 'user': 'zookeeper'}
> 2014-09-27 08:50:35,436 - 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/ZOOKEEPER/package/scripts/zookeeper_server.py",
line 41, in start
>     zookeeper_service(action = 'start')
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_service.py",
line 34, in zookeeper_service
>     user=params.zk_user
>   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 'source /etc/zookeeper/conf/zookeeper-env.sh ; env ZOOCFGDIR=/etc/zookeeper/conf
ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh start' returned 127. env: /usr/lib/zookeeper/bin/zkServer.sh:
No such file or directory
> {code}



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

Mime
View raw message