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

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

It seems the most conservative fix for this right now is to clone the code on 
the box where `bro-pkg` is installed, and run an install by pointing to the 
folder, like:
```
git clone https://github.com/apache/metron-bro-plugin-kafka
cd metron-bro-plugin-kafka
git checkout 279a2970b6a7b8fd7d91036b0b07798d03dbda71
bro-pkg install .
```

In theory you should be able to do something like:
```
bro-pkg install bro/apache/metron-bro-plugin-kafka --version 
279a2970b6a7b8fd7d91036b0b07798d03dbda71
```
*but* that doesn't seem to be working.  I opened a ticket at 
https://github.com/zeek/package-manager/issues/46

You could also install `--version master`, but that would include a bug which 
is in the progress of being fixed 
(https://issues.apache.org/jira/browse/METRON-2003?filter=-3).  Once that PR is 
done and merged, I expect we'll do a release as we are long overdue for one.  
If you wanted to get the latest version of the plugin before the above issue 
was introduced, you could do:
```
git clone https://github.com/apache/metron-bro-plugin-kafka
cd metron-bro-plugin-kafka
git checkout b360b85e00a8d6b8db9c790c44a767a54c81eb2b
bro-pkg install .
```

> 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