[ https://issues.apache.org/jira/browse/PHOENIX-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor resolved PHOENIX-3281. ----------------------------------- Resolution: Fixed Fix Version/s: 4.9.0 Most of the issues seem to be related to HBase hanging when attempting to bring down the mini cluster. Adding a shutdown hook that just halts the JVM seems to have solved the majority of issues (as we don't need to do any cleanup for unit tests). Further fixes can be done under a different JIRA that will primary identify any tests that are hanging. > Workaround surefire error of there was a timeout or other error in the fork > --------------------------------------------------------------------------- > > Key: PHOENIX-3281 > URL: https://issues.apache.org/jira/browse/PHOENIX-3281 > Project: Phoenix > Issue Type: Sub-task > Reporter: James Taylor > Assignee: James Taylor > Fix For: 4.9.0 > > > The following error is occurring when running the methods in parallel, though > all tests are passing. It seems that the JVM is not shutting down as expected. > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify > (HBaseManagedTimeTableReuseTest) on project phoenix-core: There was a timeout > or other error in the fork -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify > (HBaseManagedTimeTableReuseTest) on project phoenix-core: There was a timeout > or other error in the fork > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) > 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) > Caused by: org.apache.maven.plugin.MojoExecutionException: There was a > timeout or other error in the fork > at > org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87) > at > org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:202) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) > ... 20 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)