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

Jon Zeolla commented on METRON-2044:
------------------------------------

Okay [bro-pkg 
v1.5.4|https://github.com/zeek/package-manager/commit/f4160fc75ce20adafa5a495e0dfcd30d92962816]
 has been released which now supports specifying commit hashes for the version. 
 This means that if you update your bro-pkg you can now easily take the 
safest/simplest approach which is:
{{bro-pkg install bro/apache/metron-bro-plugin-kafka --version 
b360b85e00a8d6b8db9c790c44a767a54c81eb2b}}

This will fix two issues in the plugin - a segfault when bro shut down, and the 
btest issue you were encountering.  Does that help in the interim?

Note that this does change the recommended version of librdkafka, but the old 
version should work just fine.

> Error during bro kafka plugin installation
> ------------------------------------------
>
>                 Key: METRON-2044
>                 URL: https://issues.apache.org/jira/browse/METRON-2044
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.2.1BETA
>         Environment: metron-bro-plugin-kafka 0.2
> bro version 2.5.4
> Linux 3.13.0-164-generic #214-Ubuntu SMP Wed Dec 5 10:42:33 UTC 2018 x86_64 
> x86_64 x86_64 GNU/Linux
>            Reporter: gimmic
>            Assignee: Otto Fowler
>            Priority: Minor
>
> Running unit tests for "bro/apache/metron-bro-plugin-kafka"
> [ 0%] kafka.show-plugin ... failed
>  % 'btest-diff output' failed unexpectedly (exit code 1)
>  % cat .diag
>  == File ===============================
>  Apache::Kafka - Writes logs to Kafka (dynamic, version 0.2)
>  [Writer] KafkaWriter (Log::WRITER_KAFKAWRITER)
>  [Constant] Kafka::kafka_conf
>  [Constant] Kafka::topic_name
>  [Constant] Kafka::max_wait_on_shutdown
>  [Constant] Kafka::tag_json
>  [Constant] Kafka::json_timestamps
>  [Constant] Kafka::debug
>  
>  == Diff ===============================
>  --- /tmp/test-diff.15227.output.baseline.tmp 2019-03-20 21:14:47.295246231 
> +0000
>  +++ /tmp/test-diff.15227.output.tmp 2019-03-20 21:14:47.303246125 +0000
>  @@ -4,5 +4,6 @@
>  [Constant] Kafka::topic_name
>  [Constant] Kafka::max_wait_on_shutdown
>  [Constant] Kafka::tag_json
>  + [Constant] Kafka::json_timestamps
>  [Constant] Kafka::debug
>  
>  =======================================
> % cat .stderr
> 1 of 1 test failed



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to