Velmurugan Periasamy created AMBARI-9285:
--------------------------------------------

             Summary: Add default values for ranger plugin properties
                 Key: AMBARI-9285
                 URL: https://issues.apache.org/jira/browse/AMBARI-9285
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Velmurugan Periasamy
            Assignee: Gautam Borad
             Fix For: 2.0.0


{noformat}
if hdp_stack_version != "" and compare_versions(hdp_stack_version, '2.2') >= 0:
    # setting flag value for ranger hdfs plugin
    enable_ranger_hdfs = False
    user_input = 
config['configurations']['ranger-hdfs-plugin-properties']['ranger-hdfs-plugin-enabled']
        <-------------------------------  No default value provided
{noformat}
That line, and others like it, must make safeguards by checking property 
existence.  



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

Reply via email to