metron icon indicating copy to clipboard operation
metron copied to clipboard

METRON-2327 - Support for SOLR time-based arrays

Open tigerquoll opened this issue 5 years ago • 2 comments

Contributor Comments

Updated schemas and instructions on how to enable SOLR time based arrays.

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:

  • [x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
  • [x] 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.
  • [x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For documentation related changes:

  • [x] 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
    
  • [x] Have you ensured that any documentation diagrams have been updated, along with their source files, using draw.io? See Metron Development Guidelines for instructions.

tigerquoll avatar Nov 25 '19 11:11 tigerquoll

You should create a new JIRA not reuse 2088 please.

nickwallen avatar Nov 25 '19 12:11 nickwallen

Interesting enough, when I ran the integration tests on my laptop, I got the following error:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.962 sec <<< FAILURE! - in org.apache.metron.indexing.integration.SolrIndexingIntegrationTest
test(org.apache.metron.indexing.integration.SolrIndexingIntegrationTest)  Time elapsed: 19.907 sec  <<< ERROR!
java.lang.NoSuchMethodError: org.apache.storm.flux.parser.FluxParser.parseFile(Ljava/lang/String;ZZLjava/lang/String;Z)Lorg/apache/storm/flux/model/TopologyDef;
	at org.apache.metron.integration.components.FluxTopologyComponent.loadYaml(FluxTopologyComponent.java:282)
	at org.apache.metron.integration.components.FluxTopologyComponent.startTopology(FluxTopologyComponent.java:252)
	at org.apache.metron.integration.components.FluxTopologyComponent.submitTopology(FluxTopologyComponent.java:248)
	at org.apache.metron.indexing.integration.IndexingIntegrationTest.test(IndexingIntegrationTest.java:133)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

tigerquoll avatar Nov 27 '19 12:11 tigerquoll