Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

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

Closed
wants to merge 1 commit into from

Conversation

anandsubbu
Copy link
Contributor

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 for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines 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:

  • Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
  • 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:

  • [NA] 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?

  • [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?

  • [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 is set up for your personal repository such that your branches are built there before submitting a pull request.

@anandsubbu anandsubbu closed this May 12, 2017
@anandsubbu anandsubbu reopened this May 12, 2017
@anandsubbu
Copy link
Contributor Author

Could I get some love for this PR? :-)

@merrimanr
Copy link
Contributor

Why was this changed to WARN?

@anandsubbu
Copy link
Contributor Author

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

@merrimanr
Copy link
Contributor

Why is the Kafka Broker check for parsers host set to ERROR? What's the difference between checking for a Kafka Broker and checking for a Storm Supervisor?

@anandsubbu
Copy link
Contributor Author

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.

@anandsubbu
Copy link
Contributor Author

Please see METRON-592 where we fixed the Kafka broker and Enrichment checks.

@anandsubbu
Copy link
Contributor Author

@merrimanr, let me know if the above comment answers your question.

@merrimanr
Copy link
Contributor

Makes sense @anandsubbu. +1

@anandsubbu
Copy link
Contributor Author

Thank you, @merrimanr . Can you please help merge this pull request?

@asfgit asfgit closed this in 1a0e8f2 May 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants