Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Conversation

@mmiklavc
Copy link
Contributor

Contributor Comments

https://issues.apache.org/jira/browse/METRON-2043

This PR piggybacks off of the work in:

  1. METRON-2012 Unable to Execute Stellar Functions Against HBase in the REPL #1345
  2. METRON-2038 Enrichment Loader Fails When Run as MR Job #1358

See the originating conversation for this PR here - #1358 (comment)

Note - I was able to remove the need to modify our license dependencies and maintain the flatfile_loader grabbing its hadoop/hbase deps directly from the provided distribution at runtime rather than having to bundle them directly. I also removed the assembly.xml from metron-profiler-client as all assembly-related work happens in other profiler modules.

Testing

I need to finish testing with the Stellar REPL, but preliminary tests on streaming enrichment and the flatfile_loader look good. Both work without error.

Follow test steps from:

  1. METRON-2012 Unable to Execute Stellar Functions Against HBase in the REPL #1345
  2. METRON-682: Unify and Improve the Flat File Loader #432 (comment)

Pull Request Checklist

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:

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

  • Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:

    mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh 
    
  • n/a Have you written or updated unit tests and or integration tests to verify your changes?

  • n/a If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

  • 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:

  • n/a 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.

ClassIndexTransformer needs to go LAST. For some reason it will clobber other
transformers from operating when it is put first.
-->
<transformer implementation="org.atteo.classindex.ClassIndexTransformer"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a need to move ClassIndexTransformer first and remove the comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickwallen - this was unintentional. I need to revert a couple changes here, merge in master again, and give this another kick.

@mmiklavc
Copy link
Contributor Author

Closing this PR - this was addressed in part via another fix here - #1525

@mmiklavc mmiklavc closed this Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants