[jira] [Comment Edited] (METRON-2044) Error during bro kafka plugin installation

2019-03-22 Thread Jon Zeolla (JIRA)


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

Jon Zeolla edited comment on METRON-2044 at 3/22/19 4:30 PM:
-

Ever since this became a package it has had support of >= 2.5.0 so I wouldn't 
expect that would be an issue.  After the upcoming release I'll be soliciting 
to make that >= 2.6.0 but we need a clean release before that.

My first code block is still the preferred fix for now until we get a new 
release out.


was (Author: zeo...@gmail.com):
Ever since I migrated this to be a it has had support of >= 2.5.0 so I wouldn't 
expect that would be an issue.  After the upcoming release I'll be soliciting 
to make that >= 2.6.0 but we need a clean release before that.

My first code block is still the preferred fix for now until we get a new 
release out.

> 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 
> +
>  +++ /tmp/test-diff.15227.output.tmp 2019-03-20 21:14:47.303246125 +
>  @@ -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)


[jira] [Comment Edited] (METRON-2044) Error during bro kafka plugin installation

2019-03-22 Thread Jon Zeolla (JIRA)


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

Jon Zeolla edited comment on METRON-2044 at 3/22/19 3:22 PM:
-

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 shuts 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.


was (Author: zeo...@gmail.com):
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 
> +
>  +++ /tmp/test-diff.15227.output.tmp 2019-03-20 21:14:47.303246125 +
>  @@ -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)


[jira] [Comment Edited] (METRON-2044) Error during bro kafka plugin installation

2019-03-21 Thread Otto Fowler (JIRA)


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

Otto Fowler edited comment on METRON-2044 at 3/21/19 3:55 PM:
--

I need to verify that the user can upgrade or do we have to do a release?
[~zeo...@gmail.com]


was (Author: ottobackwards):
I need to verify that the user can upgrade or do we have to do a release?

> 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 
> +
>  +++ /tmp/test-diff.15227.output.tmp 2019-03-20 21:14:47.303246125 +
>  @@ -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)