You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/08 11:32:00 UTC

[jira] [Commented] (METRON-1862) Cant Load Metron Bro Plugin

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

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

GitHub user mustafakmal opened a pull request:

    https://github.com/apache/metron-bro-plugin-kafka/pull/15

    METRON-1862

    ## Contributor Comments
    The previous Load path was "@load packages/metron-bro-plugin-kafka/Apache/Kafka".
    However, in the new version the path to load the metron bro plugin is 
    "packages/metron-bro-plugin-kafka/scripts/Apache/Kafka"
    
    When I loaded the plugin from the old path that is "packages/metron-bro-plugin-kafka/Apache/Kafka" I received the following error when running 'broctl deploy' : 
    can't find packages/metron-bro-plugin-kafka/Apache/Kafka
    
    Therefore to correctly load the plugin, ensure your load path is correct like this:
    @load <PathToDirContainingTheDownloadedMetronPlugin>/metron-bro-plugin-kafka/scripts/Apache/Kafka
    
    
    ## Pull Request Checklist
    
    Thank you for submitting a contribution to Apache Metron's Bro kafka writer plugin.
    
    In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
    
    ### For all changes:
    - [ ] Is there a JIRA ticket associated with this PR? If not one needs to be created at [Metron Jira](https://issues.apache.org/jira/browse/METRON/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel).
    - [ ] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
    - [ ] Has your PR been rebased against the latest commit within the target branch (typically master)?
    
    ### For code changes:
    - [ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?
    - [ ] Have you included steps or a guide to how the change may be verified and tested manually?
    - [ ] Have you ensured that the full suite of tests and checks have been executed via:
      ```
      bro-pkg test $GITHUB_USERNAME/metron-bro-plugin-kafka --version $BRANCH
      ```
    - [ ] Have you written or updated unit tests and or integration tests to verify your changes?
    - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
    - [ ] Have you verified the basic functionality of the build by building and running locally with Apache Metron's [Vagrant full-dev environment](https://github.com/apache/metron/tree/master/metron-deployment/development/centos6) or the equivalent?
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mustafakmal/metron-bro-plugin-kafka master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metron-bro-plugin-kafka/pull/15.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15
    
----
commit 186467d76db2ef46ba2040626c9f4072803dfdb6
Author: Mustafa Akmal <mu...@...>
Date:   2018-11-07T09:27:44Z

    Updated The Path To Load Metron Bro Plugin
    
    The previous Load path was "@load packages/metron-bro-plugin-kafka/Apache/Kafka".
    However, in the new version the path to load the metron bro plugin is 
    "packages/metron-bro-plugin-kafka/scripts/Apache/Kafka"
    
    When I loaded the plugin from the old path that is "packages/metron-bro-plugin-kafka/Apache/Kafka" I received the following error when running 'broctl deploy' : 
    can't find packages/metron-bro-plugin-kafka/Apache/Kafka
    
    Therefore to correctly load the plugin, ensure your load path is correct like this:
    @load <PathToDirContainingTheDownloadedMetronPlugin>/metron-bro-plugin-kafka/scripts/Apache/Kafka

----


> Cant Load Metron Bro Plugin
> ---------------------------
>
>                 Key: METRON-1862
>                 URL: https://issues.apache.org/jira/browse/METRON-1862
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.4.1
>            Reporter: Mustafa Akmal
>            Priority: Blocker
>              Labels: Bro, metron, plugin
>
> I received the following error when running 'broctl deploy' : can't find packages/metron-bro-plugin-kafka/Apache/Kafka
> This happens when I load the metron bro plugin by making changes to 'local.bro' by inserting the following line "[@load|https://github.com/load] packages/metron-bro-plugin-kafka/Apache/Kafka"
>  



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