GitHub user nickwallen opened a pull request:
https://github.com/apache/incubator-metron/pull/290
METRON-421 Make Stellar Profiler Client API Accessible in Parser and
Enrichment Topologies
[METRON-421](https://issues.apache.org/jira/browse/METRON-421)
### Changes
These changes were required to make the Stellar Profiler Client API
accessible from the Parser and Enrichment topologies.
* Refactored the Profiler into three projects.
* This dramatically helps with the clashing dependencies between Storm
and HBase when the Profiler Client API is added to Enrichment.
* `metron-profiler-common` - Contains all code shared between the
Profiler topology and client
* `metron-profiler` - Contains the topology used to build Profiles.
* `metron-profiler-client` - The client API used to access Profile data.
* Added the `metron-profiler-client` as a dependency to `metron-parser` and
`metron-enrichment`. This allows Profile data to be accessed from both the
Parser and Enrichment topologies.
* Added a README for the `metron-profiler-client` to describe its usage.
* Pushing the `metron-profiler-client` archive to the Metron host to make
the library accessible to the Stellar Shell.
* Fixed an issue with potentially unsafe String to Byte conversion that may
cause issues on different platforms.
### Testing
The changes were tested by deploying Metron using the 'Quick Dev'
environment.
* [ ] Deployed and validated Parser topology using Snort and Bro
* [ ] Deployed and validated the Enrichment topology
* [ ] Deployed and validated the Indexing topology
* [ ] Deployed and validated the Profiler topology
* [ ] Used the Profiler Client API to retrieve Profile data
* [ ] Validated full end-to-end automated deployment with 'Quick Dev'
These changes can be manually tested by following the Getting Started
instructions included in both the metron-profiler/README.md and
metron-profiler-client/README.md.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickwallen/incubator-metron METRON-421
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/290.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 #290
----
commit d994c5b6541b4187f36a7434cd2bc724baf6a8dc
Author: Nick Allen <[email protected]>
Date: 2016-09-19T21:25:28Z
METRON-421 Make Stellar Profiler Client API Accessible in Parser and
Enrichment Topologies
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---