You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by nickwallen <gi...@git.apache.org> on 2016/05/19 13:49:05 UTC

[GitHub] incubator-metron pull request: METRON-156 Fixed Docs for Vagrant D...

GitHub user nickwallen opened a pull request:

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

    METRON-156 Fixed Docs for Vagrant Deployments

    ### Changes
    - Fixed and standardized README instructions for "Quick" and "Full" Vagrant deployments
    - Renamed  `launch_dev_image.sh` to `run.sh` to match what we have in `metron-deployments/amazon-ec2`

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

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

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

    https://github.com/apache/incubator-metron/pull/124.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 #124
    
----
commit 9b7832377ee36b02baca32ac83ce8f4ddf8b2de5
Author: Nick Allen <ni...@nickallen.org>
Date:   2016-05-19T13:33:17Z

    METRON-156 Cleaning up documentation and scripts for Vagrant images

----


---
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: METRON-179 Fixed Docs for Vagrant D...

Posted by cestella <gi...@git.apache.org>.
Github user cestella commented on the pull request:

    https://github.com/apache/incubator-metron/pull/124#issuecomment-220977119
  
    +1


---
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: METRON-156 Fixed Docs for Vagrant D...

Posted by cestella <gi...@git.apache.org>.
Github user cestella commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/124#discussion_r64060254
  
    --- Diff: metron-deployment/vagrant/full-dev-platform/README.md ---
    @@ -62,41 +60,46 @@ Now that the hard part is done, start the Metron deployment process.
       vagrant provision
       ```
     
    -  In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways.
    +### Explore Metron
     
    -  ```
    -  ./run_ansible_role.sh web
    -  ```
    -  or
    -  ```
    -  vagrant --ansible-tags="web" provision
    -  ```
    -  Will re-run the web role on the Vagrant image. This will re-install (if necessary) and start the UI.
    +Navigate to the following resources to explore your newly minted Apache Metron environment.
     
    -  A collection of tags is specified as a comma separated list.
    + - [Metron](http://node1:8080)
    + - [Ambari](http://node1:5000)
    + - [Services](http://node1:2812)
     
    -  ```
    -  ./run_ansbile_role.sh "sensors,enrichment"
    +Connecting to the host through SSH is as simple as running the following command.
     
    -  ```
    +```
    +vagrant ssh
    +```
     
    -  Tags are listed in the playbooks, some frequently used tags:
    -  + hdp-install - Install HDP
    -  + hdp-deploy - Deploy and Start HDP Services (will start all Hadoop Services)
    -  + sensors - Deploy and Start Sensors.
    -  + enrichment - Deploy and Start Enrichment Topology.
    +### Working with Metron
     
    -  Note: there is a convienence script, ```./run_enrichment_role.sh```,  which runs the enrichment tag.
    +In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways.  The following commands will re-run the `web` role on the Vagrant image. This will install components (if necessary) and start the UI.
     
    -### Explore Metron
    +```
    +./run_ansible_role.sh web
    +```
    +or
     
    -Navigate to the following resources to explore your newly minted Apache Metron environment.
    +```
    +vagrant --ansible-tags="web" provision
    +```
     
    - - [Metron](http://node1:8080)
    - - [Ambari](http://node1:5000)
    +#### Using Tags
     
    -Connecting to the host through SSH is as simple as running the following command.
    +A collection of tags is specified as a comma separated list.
    +
    +```
    +./run_ansbile_role.sh "sensors,enrichment"
    --- End diff --
    
    `ansbile_role.sh` should be `ansible_role.sh`


---
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: METRON-179 Fixed Docs for Vagrant D...

Posted by merrimanr <gi...@git.apache.org>.
Github user merrimanr commented on the pull request:

    https://github.com/apache/incubator-metron/pull/124#issuecomment-221298387
  
    +1


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

Re: [GitHub] incubator-metron pull request: METRON-156 Fixed Docs for Vagrant D...

Posted by Nick Allen <ni...@nickallen.org>.
The README formatting was originally broken with METRON-156.  I can open
another JIRA if that makes sense here.  Was I being lazy... I mean
efficient?  Yes ;)

On Thu, May 19, 2016 at 9:33 PM, dlyle65535 <gi...@git.apache.org> wrote:

> Github user dlyle65535 commented on the pull request:
>
>
> https://github.com/apache/incubator-metron/pull/124#issuecomment-220495955
>
>     Wasn't METRON-156 closed with PR 121? This seems like a different set
> of issues in the same theme.
>
>
> ---
> 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.
> ---
>



-- 
Nick Allen <ni...@nickallen.org>

[GitHub] incubator-metron pull request: METRON-156 Fixed Docs for Vagrant D...

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

    https://github.com/apache/incubator-metron/pull/124#issuecomment-220495955
  
    Wasn't METRON-156 closed with PR 121? This seems like a different set of issues in the same theme.


---
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: METRON-179 Fixed Docs for Vagrant D...

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

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


---
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: METRON-156 Fixed Docs for Vagrant D...

Posted by cestella <gi...@git.apache.org>.
Github user cestella commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/124#discussion_r64049158
  
    --- Diff: metron-deployment/vagrant/full-dev-platform/README.md ---
    @@ -62,41 +60,46 @@ Now that the hard part is done, start the Metron deployment process.
       vagrant provision
       ```
     
    -  In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways.
    +### Explore Metron
     
    -  ```
    -  ./run_ansible_role.sh web
    -  ```
    -  or
    -  ```
    -  vagrant --ansible-tags="web" provision
    -  ```
    -  Will re-run the web role on the Vagrant image. This will re-install (if necessary) and start the UI.
    +Navigate to the following resources to explore your newly minted Apache Metron environment.
     
    -  A collection of tags is specified as a comma separated list.
    + - [Metron](http://node1:8080)
    + - [Ambari](http://node1:5000)
    + - [Services](http://node1:2812)
     
    -  ```
    -  ./run_ansbile_role.sh "sensors,enrichment"
    +Connecting to the host through SSH is as simple as running the following command.
     
    -  ```
    +```
    +vagrant ssh
    +```
     
    -  Tags are listed in the playbooks, some frequently used tags:
    -  + hdp-install - Install HDP
    -  + hdp-deploy - Deploy and Start HDP Services (will start all Hadoop Services)
    -  + sensors - Deploy and Start Sensors.
    -  + enrichment - Deploy and Start Enrichment Topology.
    +### Working with Metron
     
    -  Note: there is a convienence script, ```./run_enrichment_role.sh```,  which runs the enrichment tag.
    +In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways.  The following commands will re-run the `web` role on the Vagrant image. This will install components (if necessary) and start the UI.
     
    -### Explore Metron
    +```
    +./run_ansible_role.sh web
    +```
    +or
     
    -Navigate to the following resources to explore your newly minted Apache Metron environment.
    +```
    +vagrant --ansible-tags="web" provision
    +```
     
    - - [Metron](http://node1:8080)
    - - [Ambari](http://node1:5000)
    +#### Using Tags
     
    -Connecting to the host through SSH is as simple as running the following command.
    +A collection of tags is specified as a comma separated list.
    +
    +```
    +./run_ansbile_role.sh "sensors,enrichment"
    --- End diff --
    
    This looks like a typo


---
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: METRON-156 Fixed Docs for Vagrant D...

Posted by nickwallen <gi...@git.apache.org>.
Github user nickwallen commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/124#discussion_r64051585
  
    --- Diff: metron-deployment/vagrant/full-dev-platform/README.md ---
    @@ -62,41 +60,46 @@ Now that the hard part is done, start the Metron deployment process.
       vagrant provision
       ```
     
    -  In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways.
    +### Explore Metron
     
    -  ```
    -  ./run_ansible_role.sh web
    -  ```
    -  or
    -  ```
    -  vagrant --ansible-tags="web" provision
    -  ```
    -  Will re-run the web role on the Vagrant image. This will re-install (if necessary) and start the UI.
    +Navigate to the following resources to explore your newly minted Apache Metron environment.
     
    -  A collection of tags is specified as a comma separated list.
    + - [Metron](http://node1:8080)
    + - [Ambari](http://node1:5000)
    + - [Services](http://node1:2812)
     
    -  ```
    -  ./run_ansbile_role.sh "sensors,enrichment"
    +Connecting to the host through SSH is as simple as running the following command.
     
    -  ```
    +```
    +vagrant ssh
    +```
     
    -  Tags are listed in the playbooks, some frequently used tags:
    -  + hdp-install - Install HDP
    -  + hdp-deploy - Deploy and Start HDP Services (will start all Hadoop Services)
    -  + sensors - Deploy and Start Sensors.
    -  + enrichment - Deploy and Start Enrichment Topology.
    +### Working with Metron
     
    -  Note: there is a convienence script, ```./run_enrichment_role.sh```,  which runs the enrichment tag.
    +In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways.  The following commands will re-run the `web` role on the Vagrant image. This will install components (if necessary) and start the UI.
     
    -### Explore Metron
    +```
    +./run_ansible_role.sh web
    +```
    +or
     
    -Navigate to the following resources to explore your newly minted Apache Metron environment.
    +```
    +vagrant --ansible-tags="web" provision
    +```
     
    - - [Metron](http://node1:8080)
    - - [Ambari](http://node1:5000)
    +#### Using Tags
     
    -Connecting to the host through SSH is as simple as running the following command.
    +A collection of tags is specified as a comma separated list.
    +
    +```
    +./run_ansbile_role.sh "sensors,enrichment"
    --- End diff --
    
    I don't see a typo.  What am I missing?   The diff may just look weird because I reorganized the content.   [Check out the full rendered version.](https://github.com/nickwallen/incubator-metron/tree/METRON-156-2/metron-deployment/vagrant/full-dev-platform/README.md)


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