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

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

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

    https://github.com/apache/incubator-metron/pull/510#discussion_r111422687
  
    --- Diff: metron-deployment/vagrant/Kerberos-setup.md ---
    @@ -263,5 +272,12 @@ cat sample-yaf.txt | 
${HDP_HOME}/kafka-broker/bin/kafka-console-producer.sh --br
     ${HDP_HOME}/kafka-broker/bin/kafka-console-consumer.sh --zookeeper 
${ZOOKEEPER}:2181 --security-protocol PLAINTEXTSASL --topic yaf
     ```
     
    +##### Modify the sensor-stubs to send logs via SASL
    +```
    +sed -i 's/node1:6667 --topic/node1:6667 --security-protocol PLAINTEXTSASL 
--topic/' /opt/sensor-stubs/bin/start-*-stub
    +# Restart the appropriate sensor-stubs
    +for sensorstub in bro snort; do service sensor-stubs stop $sensorstub; 
service sensor-stubs start $sensorstub; done
    --- End diff --
    
    I'm still seeing an issue with `service sensor-stubs restart bro snort` - 
it looks like it's restarting all `sensor-stubs`, including `yaf`, even when I 
pass specific sensor stubs.  Not a big issue functionally, but this was why I 
went back to the for loop.  Should probably just fix the `service sensor-stubs` 
via a separate JIRA.  Agree?
    ```
    [root@node1 ~]# service sensor-stubs restart bro snort
    Stopping sensor-stubs...
    ..       bro: Stopped [510]
           yaf: Not running
    ..     snort: Stopped [32669]
    Starting sensor-stubs...
           bro: Ok [20884]
           yaf: Ok [20889]
         snort: Ok [20912]
    [root@node1 ~]# service sensor-stubs status
    Checking sensor-stubs...
           bro: Running [20884]
           yaf: Running [20889]
         snort: Running [20912]
    ```


> Minor fixes in full dev kerberos setup instructions
> ---------------------------------------------------
>
>                 Key: METRON-821
>                 URL: https://issues.apache.org/jira/browse/METRON-821
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Jon Zeolla
>            Assignee: Jon Zeolla
>
> There is at least one error in metron-deployment/vagrant/Kerberos-setup.md 
> and some other very minor changes for clarity/accuracy.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to