[ 
https://issues.apache.org/jira/browse/METRON-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Otto Fowler reassigned METRON-1041:
-----------------------------------

    Assignee:     (was: Otto Fowler)

> STELLAR Shell: Exception quitting shell from mvn:exec
> -----------------------------------------------------
>
>                 Key: METRON-1041
>                 URL: https://issues.apache.org/jira/browse/METRON-1041
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Otto Fowler
>
> I was running stellar from maven to test a PR, and when I quit I got an 
> exception.
> {code}
> └─[$]> mvn exec:java \
>    -Dexec.mainClass="org.apache.metron.stellar.common.shell.StellarShell"
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building stellar-common 0.4.1
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ stellar-common ---
> log4j:WARN No appenders could be found for logger 
> (org.apache.metron.stellar.dsl.functions.resolver.BaseFunctionResolver).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
> info.
> Stellar, Go!
> Please note that functions are loading lazily in the background and will be 
> unavailable until loaded fully.
> [Stellar]>>> Functions loaded, you may refer to functions now...
> [Stellar]>>> ZIP([1,2,3,4],[5,6,7,8])
> [[1, 5], [2, 6], [3, 7], [4, 8]]
> [Stellar]>>> ZIP([1,2,3,4],[5,6,7])
> [[1, 5], [2, 6], [3, 7]]
> [Stellar]>>> ZIP_JAGGED([1,2,3,4],[5,6,7])
> [[1, 5], [2, 6], [3, 7], [4, null]]
> [Stellar]>>> quit
> [WARNING] thread Thread[Aesh InputStream 
> Reader,5,org.apache.metron.stellar.common.shell.StellarShell] was interrupted 
> but is still alive after waiting at least 14999msecs
> [WARNING] thread Thread[Aesh InputStream 
> Reader,5,org.apache.metron.stellar.common.shell.StellarShell] will linger 
> despite being asked to die via interruption
> [WARNING] NOTE: 1 thread(s) did not finish despite being asked to  via 
> interruption. This is not a problem with exec:java, it is a problem with the 
> running code. Although not serious, it should be remedied.
> [WARNING] Couldn't destroy threadgroup 
> org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.apache.metron.stellar.common.shell.StellarShell,maxpri=10]
> java.lang.IllegalThreadStateException
>       at java.lang.ThreadGroup.destroy(ThreadGroup.java:778)
>       at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:321)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>       at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>       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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 03:45 min
> [INFO] Finished at: 2017-07-13T10:31:24-04:00
> [INFO] Final Memory: 16M/238M
> [INFO] 
> ------------------------------------------------------------------------
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to