You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by cestella <gi...@git.apache.org> on 2016/08/03 18:59:16 UTC

[GitHub] incubator-metron pull request #205: METRON-339: Create YARN app to deploy en...

GitHub user cestella opened a pull request:

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

    METRON-339: Create YARN app to deploy endpoints

    This is a Yarn application and associated utilities which is intended to allow users the ability to deploy REST endpoints (presumably to serve up data science models).
    
    In order to test this, I would recommend the following:
    * Deploy Metron on vagrant via the `quickdev`
    * From monit @ `http://node1:2812` stop the following to ensure enough headroom (this is overkill, btw)
      * `yaf`
      * `snort`
      * `pcap-service`
      * `pcap-replay`
      * All of the parser topologies
      * The enrichment topology
      * The indexing topology
    * ssh into node1 as root
    * From node1
      * Copy the [following](https://raw.githubusercontent.com/cestella/incubator-metron/METRON-339-1/metron-analytics/metron-maas-service/src/test/resources/maas/dummy_rest.sh) to ~/dummy
      * Change directories to `/usr/metron/0.2.0BETA`
      * Start the `MaaS` service via `bin/maas_service.sh -zq node1:2181`
      * Start one instance of the dummy echo service (named `dummy` version `1.0` in a container of 500m via `bin/maas_deploy.sh -lmp ~/dummy -hmp /user/root/maas/dummy -m 500 -mo ADD -n dummy -ni 1 -v 1.0 -zq node1:2181`
      * Wait a couple seconds and ensure that it started by running `curl -i http://localhost:1500/echo/foobar` and ensuring you get `foobar` in return
      * List the active models via `bin/maas_deploy.sh -mo LIST -n dummy -zq node1:2181` and ensure that you see the `dummy` model show up in the output
      * Remove one instance of the dummy model via `bin/maas_deploy.sh -mo REMOVE -n dummy -ni 1 -v 1.0 -zq node1:2181`
      * After a couple seconds ensure that you cannot access the dummy model any longer via `curl -i http://localhost:1500/echo/foobar`

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

    $ git pull https://github.com/cestella/incubator-metron METRON-339-1

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

    https://github.com/apache/incubator-metron/pull/205.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 #205
    
----
commit b17ad50abd2ad41c3328732391265332615ab2ae
Author: cstella <ce...@gmail.com>
Date:   2016-08-03T18:47:40Z

    METRON-339: Create YARN app to deploy endpoints

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron issue #205: METRON-339: Create YARN app to deploy endpoints

Posted by james-sirota <gi...@git.apache.org>.
Github user james-sirota commented on the issue:

    https://github.com/apache/incubator-metron/pull/205
  
    great job by the way. this looks great 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron pull request #205: METRON-339: Create YARN app to deploy en...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron issue #205: METRON-339: Create YARN app to deploy endpoints

Posted by james-sirota <gi...@git.apache.org>.
Github user james-sirota commented on the issue:

    https://github.com/apache/incubator-metron/pull/205
  
    +1 i got this to work in quickdev 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron issue #205: METRON-339: Create YARN app to deploy endpoints

Posted by dlyle65535 <gi...@git.apache.org>.
Github user dlyle65535 commented on the issue:

    https://github.com/apache/incubator-metron/pull/205
  
    +1, works as advertised! :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---