[
https://issues.apache.org/jira/browse/AMBARI-12056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595116#comment-14595116
]
Hudson commented on AMBARI-12056:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2960 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2960/])
AMBARI-12056 Knox service script is broken (dsen) (dsen:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=37a3d36c4aa942c9d70219fcd8b2a72fe5bd503d)
*
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
> Knox service script is broken
> -----------------------------
>
> Key: AMBARI-12056
> URL: https://issues.apache.org/jira/browse/AMBARI-12056
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Affects Versions: 2.1.0
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Blocker
> Fix For: 2.1.0
>
> Attachments: AMBARI-12056.patch
>
>
> Got this stderr when tried to start KNOX service after enabling NameNode HA
> {noformat}
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
> line 268, in <module>
> KnoxGateway().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 216, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
> line 148, in start
> import params
> File
> "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/params.py",
> line 27, in <module>
> from params_linux import *
> File
> "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py",
> line 98, in <module>
> if dfs_ha_enabled and namenode_rpc:
> NameError: name 'namenode_rpc' is not defined
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)