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 2017/01/09 19:25:58 UTC

[jira] [Commented] (METRON-654) Create RPM Installer for Profiler

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

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

GitHub user nickwallen opened a pull request:

    https://github.com/apache/incubator-metron/pull/413

    METRON-654 Create RPM Installer for Profiler

    ### [METRON-654](https://issues.apache.org/jira/browse/METRON-654)
    
    The Profiler currently must be installed using the Ansible deployment scripts. Prior to getting the Profiler integrated with the rest of the Ambari installation process, we need to package the Profiler in an RPM.
    
    ### Testing
    
    I tested this change by doing the following.
    
    (1) Build the RPMs by running the following command.
    ```
    cd metron-deployment
    mvn clean package -Pbuild-rpms
    ```
    
    (2) Stand-up a host running CentOS.  I used the Bento base that is used for the Quick Dev environment.
    
    (3) Copy the RPMs to the host.
    ```
    scp metron-deployment/packaging/docker/rpm-docker/RPMS/noarch/metron-*.rpm vagrant@node1:/tmp/    
    ```
    
    (4) Install the RPMs.
    ```
    [root@node1 ~]# rpm -ivh metron-*.rpm
    Preparing...                ########################################### [100%]
       1:metron-solr            ########################################### [ 11%]
       2:metron-profiler        ########################################### [ 22%]
       3:metron-pcap            ########################################### [ 33%]
       4:metron-parsers         ########################################### [ 44%]
       5:metron-indexing        ########################################### [ 56%]
       6:metron-enrichment      ########################################### [ 67%]
       7:metron-elasticsearch   ########################################### [ 78%]
       8:metron-data-management ########################################### [ 89%]
       9:metron-common          ########################################### [100%]
    ```
    
    (5) Validate that all of the Profiler's required files exist and are valid.
    ```
    [root@node1 ~]# ls -l /usr/metron/0.3.0/config/profiler.properties
    -rw-r--r--. 1 root root 1257 Jan  3 14:59 /usr/metron/0.3.0/config/profiler.properties
    
    [root@node1 ~]# ls -l /usr/metron/0.3.0/bin/start_profiler_topology.sh
    -rwxr-xr-x. 1 root root 1080 Nov 22 22:36 /usr/metron/0.3.0/bin/start_profiler_topology.sh
    
    [root@node1 ~]# ls -l /usr/metron/0.3.0/flux/profiler/remote.yaml
    -rw-r--r--. 1 root root 3937 Jan  3 14:59 /usr/metron/0.3.0/flux/profiler/remote.yaml
    
    [root@node1 ~]# ls -l /usr/metron/0.3.0/lib/metron-profiler-0.3.0-uber.jar
    -rw-r--r--. 1 root root 62959781 Jan  9 18:26 /usr/metron/0.3.0/lib/metron-profiler-0.3.0-uber.jar
    ```

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

    $ git pull https://github.com/nickwallen/incubator-metron METRON-654

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

    https://github.com/apache/incubator-metron/pull/413.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 #413
    
----
commit 615fa67a562edb6535a90f7f7314386f76da0341
Author: Nick Allen <ni...@nickallen.org>
Date:   2017-01-09T19:15:08Z

    METRON-654 Create RPM Installer for Profiler

----


> Create RPM Installer for Profiler
> ---------------------------------
>
>                 Key: METRON-654
>                 URL: https://issues.apache.org/jira/browse/METRON-654
>             Project: Metron
>          Issue Type: Improvement
>    Affects Versions: 0.3.0
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>             Fix For: Next + 1
>
>
> The Profiler currently must be installed using the Ansible deployment scripts.  Prior to getting the Profiler integrated with the rest of the Ambari installation process, we need to package the Profiler in an RPM.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)