Created https://issues.apache.org/jira/browse/HBASE-6110 to track this issue. ------------------- Jesse Yates @jesse_yates jyates.github.com
On Sat, May 26, 2012 at 6:18 PM, Jesse Yates <[email protected]>wrote: > Yeah, but there are bigger issues afoot. > > For some reason that change borks the master status page when running the > cluster from a built package. > > Also, the submodules will attempt to be tested, so they need to be pom > packaged. > > I'm working on getting the master status page to work (or rather, redirect > to /master-status from the port). > > > ------------------- > Jesse Yates > @jesse_yates > jyates.github.com > > > On Sat, May 26, 2012 at 6:15 PM, Ted Yu <[email protected]> wrote: > >> The following change allows TestZKBasedOpenCloseRegion and TestInfoServers >> to pass: >> >> Index: hbase-server/pom.xml >> =================================================================== >> --- hbase-server/pom.xml (revision 1342991) >> +++ hbase-server/pom.xml (working copy) >> @@ -33,6 +33,20 @@ >> <description>Main functionality for HBase</description> >> >> <build> >> + <resources> >> + <resource> >> + <directory>src/main/resources/</directory> >> + <includes> >> + <include>hbase-default.xml</include> >> + </includes> >> + </resource> >> + <resource> >> + <directory>${project.build.directory}</directory> >> + <includes> >> + <include>hbase-webapps/**</include> >> + </includes> >> + </resource> >> + </resources> >> <plugins> >> <plugin> >> <groupId>org.apache.avro</groupId> >> >> On Sat, May 26, 2012 at 4:34 PM, Ted Yu <[email protected]> wrote: >> >> > I saw the following in >> > >> target/surefire-reports/org.apache.hadoop.hbase.TestInfoServers-output.txt: >> > >> > 2012-05-26 16:22:38,181 FATAL >> > [Master:0;198.134.91.122,58958,1338074554839] master.HMaster(1605): >> Master >> > server abort: loaded coprocessors are: [] >> > >> > 2012-05-26 16:22:38,181 FATAL >> > [Master:0;198.134.91.122,58958,1338074554839] master.HMaster(1610): >> > Unhandled exception. Starting shutdown. >> > java.io.FileNotFoundException: hbase-webapps/master not found in >> CLASSPATH >> > at >> > >> org.apache.hadoop.hbase.util.InfoServer.getWebAppsPath(InfoServer.java:110) >> > at >> > >> org.apache.hadoop.hbase.util.InfoServer.getWebAppsPath(InfoServer.java:127) >> > at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:159) >> > at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:113) >> > at org.apache.hadoop.hbase.util.InfoServer.<init>(InfoServer.java:62) >> > at >> > >> org.apache.hadoop.hbase.master.HMaster.startServiceThreads(HMaster.java:925) >> > at >> > >> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:585) >> > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:386) >> > at java.lang.Thread.run(Thread.java:680) >> > >> > On Sat, May 26, 2012 at 4:30 PM, Apache Jenkins Server < >> > [email protected]> wrote: >> > >> >> See <https://builds.apache.org/job/HBase-TRUNK/2930/> >> >> >> >> ------------------------------------------ >> >> [...truncated 6048 lines...] >> >> Running org.apache.hadoop.hbase.replication.TestReplication >> >> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: >> 151.071 >> >> sec >> >> >> >> Results : >> >> >> >> Tests in error: >> >> org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion: Shutting >> down >> >> org.apache.hadoop.hbase.TestInfoServers: Shutting down >> >> >> >> Tests run: 993, Failures: 0, Errors: 2, Skipped: 9 >> >> >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Reactor Summary: >> >> [INFO] >> >> [INFO] HBase ............................................. SUCCESS >> >> [1.898s] >> >> [INFO] HBase - Server .................................... FAILURE >> >> [38:00.596s] >> >> [INFO] HBase - Assembly .................................. SKIPPED >> >> [INFO] HBase - Site ...................................... SKIPPED >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] BUILD FAILURE >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 38:05.792s >> >> [INFO] Finished at: Sat May 26 23:30:17 UTC 2012 >> >> [INFO] Final Memory: 42M/458M >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] Failed to execute goal >> >> org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test >> >> (secondPartTestsExecution) on project hbase-server: There are test >> failures. >> >> [ERROR] >> >> [ERROR] Please refer to < >> >> >> https://builds.apache.org/job/HBase-TRUNK/ws/trunk/hbase-server/target/surefire-reports >> > >> >> for the individual test results. >> >> [ERROR] -> [Help 1] >> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >> execute >> >> goal >> org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test >> >> (secondPartTestsExecution) on project hbase-server: There are test >> failures. >> >> >> >> Please refer to < >> >> >> https://builds.apache.org/job/HBase-TRUNK/ws/trunk/hbase-server/target/surefire-reports >> > >> >> for the individual test results. >> >> at >> >> >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) >> >> 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:84) >> >> at >> >> >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) >> >> at >> >> >> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) >> >> at >> >> >> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) >> >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) >> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >> >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >> >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> at >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> at >> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:597) >> >> at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) >> >> at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) >> >> at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) >> >> at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >> >> Caused by: org.apache.maven.plugin.MojoFailureException: There are test >> >> failures. >> >> >> >> Please refer to < >> >> >> https://builds.apache.org/job/HBase-TRUNK/ws/trunk/hbase-server/target/surefire-reports >> > >> >> for the individual test results. >> >> at >> >> >> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87) >> >> at >> >> >> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:651) >> >> at >> >> >> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:625) >> >> at >> >> >> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137) >> >> at >> >> >> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98) >> >> at >> >> >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) >> >> at >> >> >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) >> >> ... 19 more >> >> [ERROR] >> >> [ERROR] >> >> [ERROR] For more information about the errors and possible solutions, >> >> please read the following articles: >> >> [ERROR] [Help 1] >> >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> >> [ERROR] >> >> [ERROR] After correcting the problems, you can resume the build with >> the >> >> command >> >> [ERROR] mvn <goals> -rf :hbase-server >> >> Build step 'Invoke top-level Maven targets' marked build as failure >> >> Archiving artifacts >> >> Recording test results >> >> >> > >> > >> > >
