[
https://issues.apache.org/jira/browse/AMBARI-11261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556749#comment-14556749
]
Hudson commented on AMBARI-11261:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #2684 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2684/])
AMBARI-11261. Stack advisor should handle when 'ranger-hive-plugin-properties'
not provided - fixes for HDP-2.3 stack (srimanth) (sgunturi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=52aaaa0df974457a1f4ef2848838eb26ee0e731c)
* ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
* ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py
> Stack advisor should handle when 'ranger-hive-plugin-properties' not provided
> -----------------------------------------------------------------------------
>
> Key: AMBARI-11261
> URL: https://issues.apache.org/jira/browse/AMBARI-11261
> Project: Ambari
> Issue Type: Bug
> Components: contrib
> Affects Versions: 2.1.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 2.1.0
>
> Attachments: AMBARI-11261.patch, AMBARI-11261_2.patch
>
>
> When Ranger is not installed, 'ranger-hive-plugin-properties' configs are not
> provided. However the backend stack-advisor always expects them.
> Server returns:
> {noformat}
> {
> "status" : 500,
> "message" : "Stack Advisor reported an error: TypeError: 'NoneType' object
> is unsubscriptable\nStdOut file:
> /var/run/ambari-server/stack-recommendations/58/stackadvisor.out\n\nStdErr
> file: /var/run/ambari-server/stack-recommendations/58/stackadvisor.err"
> }
> {noformat}
> Stack-advisor should tolerate when 'ranger-hive-plugin-properties' are not
> provided.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)