[ 
https://issues.apache.org/jira/browse/METRON-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082851#comment-16082851
 ] 

ASF GitHub Bot commented on METRON-1017:
----------------------------------------

Github user merrimanr commented on a diff in the pull request:

    https://github.com/apache/metron/pull/634#discussion_r126789223
  
    --- Diff: 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/configuration/metron-env.xml
 ---
    @@ -77,132 +71,17 @@
             <display-name>Metron pid dir</display-name>
         </property>
         <property>
    -        <name>metron_rest_port</name>
    -        <value>8082</value>
    -        <description>Port the REST application runs on</description>
    -        <display-name>Metron REST port</display-name>
    -    </property>
    -    <property>
    -        <name>metron_management_ui_port</name>
    -        <value>4200</value>
    -        <description>Port the Management UI runs on</description>
    -        <display-name>Management UI port</display-name>
    -    </property>
    -    <property>
    -        <name>metron_jvm_flags</name>
    -        <description>JVM flags passed to Metron scripts</description>
    -        <display-name>Metron JVM flags</display-name>
    -        <value/>
    -        <value-attributes>
    -            <empty-value-valid>true</empty-value-valid>
    -        </value-attributes>
    -    </property>
    -    <property>
    -        <name>metron_spring_profiles_active</name>
    -        <description>Active Spring profiles</description>
    -        <display-name>Active Spring profiles</display-name>
    -        <value/>
    -        <value-attributes>
    -            <empty-value-valid>true</empty-value-valid>
    -        </value-attributes>
    -    </property>
    -    <property require-input="true">
    -        <name>metron_jdbc_driver</name>
    -        <value></value>
    -        <description>Class name of the JDBC Driver used by 
Metron</description>
    -        <display-name>Metron JDBC Driver</display-name>
    -    </property>
    -    <property require-input="true">
    -        <name>metron_jdbc_url</name>
    -        <value></value>
    -        <description>JDBC Connection URL used by Metron</description>
    -        <display-name>Metron JDBC URL</display-name>
    -    </property>
    -    <property require-input="true">
    -        <name>metron_jdbc_username</name>
    -        <value></value>
    -        <description>Metron JDBC Username</description>
    -        <display-name>Metron JDBC username</display-name>
    -    </property>
    -    <property require-input="true">
    -        <name>metron_jdbc_password</name>
    -        <value></value>
    -        <property-type>PASSWORD</property-type>
    -        <description>Metron JDBC Password</description>
    -        <display-name>Metron JDBC password</display-name>
    -        <value-attributes>
    -            <type>password</type>
    -            <overridable>false</overridable>
    -            <hidden>METRON_CLIENT</hidden>
    -        </value-attributes>
    -        <on-ambari-upgrade add="true"/>
    -    </property>
    -    <property>
    -        <name>metron_jdbc_platform</name>
    -        <value></value>
    -        <description>Database platform used by Metron.  One of: hsqldb, 
h2, oracle, mysql, postgresql</description>
    -        <display-name>Metron JDBC platform</display-name>
    -    </property>
    -    <property>
    -        <name>metron_jdbc_client_path</name>
    -        <description>Path to JDBC jar for selected platform</description>
    -        <display-name>Metron JDBC client path</display-name>
    -        <value/>
    -        <value-attributes>
    -            <empty-value-valid>true</empty-value-valid>
    -        </value-attributes>
    -    </property>
    -    <property>
    -        <name>metron_temp_grok_path</name>
    -        <description>Temporary local file path where grok patterns are 
written during testing</description>
    -        <value>./patterns/temp</value>
    -        <display-name>Metron temp grok path</display-name>
    -    </property>
    -    <property>
    -        <name>metron_default_grok_path</name>
    -        <description>Default HDFS directory path used when storing Grok 
patterns</description>
    -        <value>/apps/metron/patterns</value>
    -        <display-name>Metron default grok path</display-name>
    -    </property>
    -    <property>
    -        <name>metron_spring_options</name>
    -        <description>Additional Spring options not included in the 
rest_application.yml file</description>
    -        <display-name>Metron Spring options</display-name>
    -        <value/>
    -        <value-attributes>
    -            <empty-value-valid>true</empty-value-valid>
    -        </value-attributes>
    -    </property>
    -    <property>
             <name>metron_topic_retention</name>
             <description>Kafka Retention in GB</description>
             <value>10</value>
             <display-name>Topic Retention</display-name>
         </property>
         <property>
    -        <name>parsers</name>
    -        <value>bro,snort,yaf</value>
    -        <description>Metron parsers to deploy</description>
    -        <display-name>Metron Parsers</display-name>
    -    </property>
    -    <property>
    -        <name>metron_indexing_topology</name>
    -        <value>indexing</value>
    -        <description>The Storm topology name for Indexing</description>
    -        <display-name>Indexing Topology Name</display-name>
    -    </property>
    -    <property>
             <name>es_cluster_name</name>
             <value>metron</value>
             <description>Name of Elasticsearch Cluster</description>
             <display-name>Elasticsearch Cluster Name</display-name>
         </property>
    -    <property>
    -        <name>geoip_url</name>
    -        
<value>http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz</value>
    -        <description>Location of the GeoIP data to load.</description>
    -        <display-name>GEOIP Load Datafile URL</display-name>
    -    </property>
         <property require-input="true">
             <name>es_hosts</name>
    --- End diff --
    
    I left this property in metron-env.xml (our default top-level env file) 
because it should rarely ever change.  I can create a separate component for it 
if you think that would be helpful.


> Ambari components should be separate
> ------------------------------------
>
>                 Key: METRON-1017
>                 URL: https://issues.apache.org/jira/browse/METRON-1017
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Ryan Merriman
>            Assignee: Ryan Merriman
>
> This is a follow-up to METRON-990.  During the review of that Jira it was 
> pointed out that a config change should only prompt a restart of the affected 
> component(s), not all components every time like it does now.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to