[ https://issues.apache.org/jira/browse/AMBARI-11261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551766#comment-14551766 ]
Hadoop QA commented on AMBARI-11261: ------------------------------------ {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12734030/AMBARI-11261.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2786//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2786//console This message is automatically generated. > 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 > > > 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)