[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-12 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user anandsubbu opened a pull request:

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

METRON-949 Change from error to warning message for Metron REST in Ambari 
service_advisor

## Contributor Comments
Reduced the level to WARN in service_advisor.py.

Steps to validate:
- Fire up Ambari wizard after installing Mpack
- In the Assign Masters page, Metron REST should now show a 'WARN' icon 
instead of 'ERROR'

I have not carried out the full suite of tests, since this is a minor 
rename from ERROR to WARN.

## Pull Request Checklist

Thank you for submitting a contribution to Apache Metron.  
Please refer to our [Development 
Guidelines](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61332235)
 for the complete guide to follow for contributions.  
Please refer also to our [Build Verification 
Guidelines](https://cwiki.apache.org/confluence/display/METRON/Verifying+Builds?show-miniview)
 for complete smoke testing guides.  


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:
- [x] 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).
 
- [x] Does your PR title start with METRON- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
- [x] Has your PR been rebased against the latest commit within the target 
branch (typically master)?


### For code changes:
- [NA] Have you included steps to reproduce the behavior or problem that is 
being changed or addressed?
- [x] Have you included steps or a guide to how the change may be verified 
and tested manually?
- [NA] Have you ensured that the full suite of tests and checks have been 
executed in the root incubating-metron folder via:
  ```
  mvn -q clean integration-test install && build_utils/verify_licenses.sh 
  ```

- [NA] Have you written or updated unit tests and or integration tests to 
verify your changes?
- [NA] 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)? 
- [NA] Have you verified the basic functionality of the build by building 
and running locally with Vagrant full-dev environment or the equivalent?

### For documentation related changes:
- [NA] Have you ensured that format looks appropriate for the output in 
which it is rendered by building and verifying the site-book? If not then run 
the following commands and the verify changes via 
`site-book/target/site/index.html`:

  ```
  cd site-book
  mvn site
  ```

 Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.
It is also recommended that [travis-ci](https://travis-ci.org) is set up 
for your personal repository such that your branches are built there before 
submitting a pull request.



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

$ git pull https://github.com/anandsubbu/incubator-metron METRON-949

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

https://github.com/apache/incubator-metron/pull/583.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 #583


commit e7c158d24ccb27f0973332d76c598233381f6d3e
Author: Anand Subramanian 
Date:   2017-05-12T09:26:16Z

Changed from ERROR to WARN




> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should 

[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-12 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu closed the pull request at:

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


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-12 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user anandsubbu reopened a pull request:

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

METRON-949 Change from error to warning message for Metron REST in Ambari 
service_advisor

## Contributor Comments
Reduced the level to WARN in service_advisor.py.

Steps to validate:
- Fire up Ambari wizard after installing Mpack
- In the Assign Masters page, Metron REST should now show a 'WARN' icon 
instead of 'ERROR'

I have not carried out the full suite of tests, since this is a minor 
rename from ERROR to WARN.

## Pull Request Checklist

Thank you for submitting a contribution to Apache Metron.  
Please refer to our [Development 
Guidelines](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61332235)
 for the complete guide to follow for contributions.  
Please refer also to our [Build Verification 
Guidelines](https://cwiki.apache.org/confluence/display/METRON/Verifying+Builds?show-miniview)
 for complete smoke testing guides.  


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:
- [x] 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).
 
- [x] Does your PR title start with METRON- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
- [x] Has your PR been rebased against the latest commit within the target 
branch (typically master)?


### For code changes:
- [NA] Have you included steps to reproduce the behavior or problem that is 
being changed or addressed?
- [x] Have you included steps or a guide to how the change may be verified 
and tested manually?
- [NA] Have you ensured that the full suite of tests and checks have been 
executed in the root incubating-metron folder via:
  ```
  mvn -q clean integration-test install && build_utils/verify_licenses.sh 
  ```

- [NA] Have you written or updated unit tests and or integration tests to 
verify your changes?
- [NA] 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)? 
- [NA] Have you verified the basic functionality of the build by building 
and running locally with Vagrant full-dev environment or the equivalent?

### For documentation related changes:
- [NA] Have you ensured that format looks appropriate for the output in 
which it is rendered by building and verifying the site-book? If not then run 
the following commands and the verify changes via 
`site-book/target/site/index.html`:

  ```
  cd site-book
  mvn site
  ```

 Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.
It is also recommended that [travis-ci](https://travis-ci.org) is set up 
for your personal repository such that your branches are built there before 
submitting a pull request.



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

$ git pull https://github.com/anandsubbu/incubator-metron METRON-949

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

https://github.com/apache/incubator-metron/pull/583.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 #583


commit e7c158d24ccb27f0973332d76c598233381f6d3e
Author: Anand Subramanian 
Date:   2017-05-12T09:26:16Z

Changed from ERROR to WARN




> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message shoul

[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-17 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu commented on the issue:

https://github.com/apache/metron/pull/583
  
Could I get some love for this PR? :-)


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-19 Thread ASF GitHub Bot (JIRA)

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

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

Github user merrimanr commented on the issue:

https://github.com/apache/metron/pull/583
  
Why was this changed to WARN? 


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-19 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu commented on the issue:

https://github.com/apache/metron/pull/583
  
@merrimanr , this is because of the following reason:

In the "Assign Masters" page of the Ambari deployment wizard, there is a 
check for the Metron REST host to have storm supervisor installed. This is 
currently displayed as an Error message.

However in the flow of the wizard, the storm supervisor selection can only 
be done in the subsequent screen. So, this message should be changed into a 
Warning instead.

This will be inline with the check that we have for Metron Parsers host 
co-location with Storm supervisor, which is also a WARN.  See 
[here](https://github.com/apache/metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py#L65).


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-19 Thread ASF GitHub Bot (JIRA)

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

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

Github user merrimanr commented on the issue:

https://github.com/apache/metron/pull/583
  
Why is the [Kafka Broker check for parsers 
host](https://github.com/apache/metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py#L61)
 set to ERROR?  What's the difference between checking for a Kafka Broker and 
checking for a Storm Supervisor?


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-19 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu commented on the issue:

https://github.com/apache/metron/pull/583
  
Unlike the Storm supervisor or the Clients (which is the next screen away), 
you can select/add Kafka brokers in the same Assign Masters page, which is why 
it is set as ERROR.


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-19 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu commented on the issue:

https://github.com/apache/metron/pull/583
  
Please see METRON-592 where we fixed the Kafka broker and Enrichment checks.


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-23 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu commented on the issue:

https://github.com/apache/metron/pull/583
  
@merrimanr, let me know if the above comment answers your question.


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-25 Thread ASF GitHub Bot (JIRA)

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

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

Github user merrimanr commented on the issue:

https://github.com/apache/metron/pull/583
  
Makes sense @anandsubbu.  +1


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-25 Thread ASF GitHub Bot (JIRA)

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

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

Github user anandsubbu commented on the issue:

https://github.com/apache/metron/pull/583
  
Thank you, @merrimanr . Can you please help merge this pull request?


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (METRON-949) Change from error to warning message for Metron REST in Ambari service_advisor

2017-05-30 Thread ASF GitHub Bot (JIRA)

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

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

Github user asfgit closed the pull request at:

https://github.com/apache/metron/pull/583


> Change from error to warning message for Metron REST in Ambari service_advisor
> --
>
> Key: METRON-949
> URL: https://issues.apache.org/jira/browse/METRON-949
> Project: Metron
>  Issue Type: Bug
>Reporter: Anand Subramanian
>Assignee: Anand Subramanian
>Priority: Minor
> Attachments: Metron-REST-service_check.png
>
>
> In the "Assign Masters" page of the Ambari deployment wizard, there is a 
> check for the Metron REST host to have storm supervisor installed. This is 
> currently displayed as an Error message
> However in the flow of the wizard, the actual storm supervisor selection can 
> only be done in the subsequent screen. So, this message should be changed 
> into a Warning instead (exclamation inside a triangle). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)