[ https://issues.apache.org/jira/browse/METRON-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691909#comment-16691909 ]
ASF GitHub Bot commented on METRON-1877: ---------------------------------------- Github user mmiklavc commented on the issue: https://github.com/apache/metron/pull/1268 Hm, this looks possibly related to, but not the same as what was of concern in 1247. In the client migration, there was some uncertainty in the ElasticsearchSearchIntegrationTest. But this failure appears to be in the indexing integration test. It's actually an error, not a normal failure. And it appears to happen before any tests can start to run. Can you open a ticket? We should track the intermittent failure, but I think it's unrelated to this PR. Incidentally, I caught something in the logs I never noticed before. `90399 [main] INFO o.e.n.Node - version[5.6.2-SNAPSHOT], pid[21275], build[Unknown/Unknown], OS[Linux/4.4.0-101-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_151/25.151-b12]`. This might also be worth looking into as I'm not sure if/why we should be depending on a SNAPSHOT version. > Nested IF ELSE statements can cause parse errors in Stellar > ----------------------------------------------------------- > > Key: METRON-1877 > URL: https://issues.apache.org/jira/browse/METRON-1877 > Project: Metron > Issue Type: Improvement > Reporter: Justin Leet > Assignee: Justin Leet > Priority: Major > > IF ELSE statements nested inside IF ELSEstatements can cause problems with > short-circuiting. See the following example. > {code:java} > Stellar>>> IF true THEN IF false THEN true ELSE false ELSE is_alert > false > Stellar>>> IF true THEN IF true THEN true ELSE false ELSE is_alert > ! Invalid parse, found null > org.apache.metron.stellar.dsl.ParseException: Invalid parse, found null > at > org.apache.metron.stellar.common.StellarCompiler$Expression.apply(StellarCompiler.java:211) > at > org.apache.metron.stellar.common.BaseStellarProcessor.parse(BaseStellarProcessor.java:145) > at > org.apache.metron.stellar.common.shell.DefaultStellarShellExecutor.executeStellar(DefaultStellarShellExecutor.java:401) > at > org.apache.metron.stellar.common.shell.DefaultStellarShellExecutor.execute(DefaultStellarShellExecutor.java:257) > at > org.apache.metron.stellar.common.shell.cli.StellarShell.execute(StellarShell.java:357) > at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:748){code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)