[
https://issues.apache.org/jira/browse/AMBARI-12056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmytro Sen updated AMBARI-12056:
--------------------------------
Attachment: AMBARI-12056.patch
> 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)