[
https://issues.apache.org/jira/browse/METRON-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893562#comment-15893562
]
ASF GitHub Bot commented on METRON-744:
---------------------------------------
Github user cestella commented on the issue:
https://github.com/apache/incubator-metron/pull/468
Ok, in the aftermath of the API PR, I added support for properly setting up
stellar to read dependencies from HDFS for the API. As such, I validated the
API continues to work by:
* Installing the REST endpoint in vagrant as described in the `metron-rest`
documentation
* Starting the service
* Running `curl -u user:password -X GET --header 'Accept: application/json'
'http://node1:8082/api/v1/stellar/list/functions'` to list the functions and
validating that `NOW` is showed among them.
Here is the excerpt that I pasted from swagger:
```
{
"name": "NOW",
"description": "Right now!",
"params": [],
"returns": "Timestamp"
},
```
@merrimanr anything else you think I should validate?
> Allow Stellar functions to be loaded from HDFS
> ----------------------------------------------
>
> Key: METRON-744
> URL: https://issues.apache.org/jira/browse/METRON-744
> Project: Metron
> Issue Type: New Feature
> Reporter: Casey Stella
>
> The benefit of Stellar is that adding new functionality is as simple as
> providing a Jar. This enables people who want to integrate with Metron to
> easy add enrichments or other functionality. The snag currently with this is
> that we provide a single jar, so all stellar functions that we have available
> must be dependencies of the main jar that drives the topology plus what local
> directories we can configure via the storm configs. This makes the process
> of adding 3rd party jars not as easy as it could be.
> Adjust the the following to additionally load classes from a location in HDFS
> /apps/metron/stellar using something like accumulo (
> https://accumulo.apache.org/blog/2014/05/03/accumulo-classloader.html)
> * Profiler topology
> * Parser topology
> * Enrichment topology
> * Enrichment Flat file loader
> * Enrichment MR loader
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)