I have just encountered the same error on master. Here is more detailed error message, which Jetty have returned:
<head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 Failed to get the MetadataNode. The MetadataNode was configured to run on NC: nc1_node1</title> </head> <body> <h2>HTTP ERROR: 500</h2> <p>Problem accessing /query. Reason: <pre> Failed to get the MetadataNode. The MetadataNode was configured to run on NC: nc1_node1</pre></p> <hr /><i><small>Powered by Jetty://</small></i> </body> </html> > On Oct 8, 2015, at 22:08, Murtadha Hubail <[email protected]> wrote: > > I believe this is a timing issue (depending on how fast the machine is) that > should be fixed once Abdullah’s zookeeper patch is merged. > > Also, the failed test case error message is not returned as JSON, so the real > error message is not shown and a JSON format exception is returned instead. I > fixed this in one of my patches but it is pending review. > > Regards, > Murtadha > >> On Oct 8, 2015, at 9:50 PM, Chen Li <[email protected]> wrote: >> >> @Ian, Per our discussion, I put the log messages on my Mac at >> https://gist.github.com/anonymous/8f5fd2b8f6320c900f31 >> >> Chen >> >> On Wed, Oct 7, 2015 at 10:19 PM, Chen Li <[email protected]> wrote: >> >>> I showed the errors to Ian this afternoon, and a guess was that an >>> AsterixDB server was already running before the test. >>> >>> However, tonight when I ran "mvn verify" without a server running, the >>> same errors happened. I will show Ian again tomorrow. >>> >>> Chen >>> >>> On Wed, Oct 7, 2015 at 12:18 AM, Ian Maxon <[email protected]> wrote: >>> >>>> Oh, whoops! My mistake, it is surefire. I guess I'm use to it being a >>>> little vocal :) >>>> Yeah, we can take a look then. It's odd something would fail in >>>> asterix-app. >>>> >>>> -Ian >>>> >>>> On Wed, Oct 7, 2015 at 12:13 AM, Chris Hillery <[email protected]> >>>> wrote: >>>> >>>>> Chen's report showed a surefire failure; that's not RAT, is it? >>>>> >>>>> Ceej >>>>> On Oct 7, 2015 12:09 AM, "Ian Maxon" <[email protected]> wrote: >>>>> >>>>>> @Abdullah, The error there is just RAT complaining for some reason. >>>> It's >>>>>> not a test failure. More than likely a stray file. >>>>>> >>>>>> This on the unzipped source package, right? What does the report say? >>>>>> >>>>>> -Ian >>>>>> >>>>>> On Tue, Oct 6, 2015 at 11:48 PM, Chen Li <[email protected]> wrote: >>>>>> >>>>>>> I will talk to Ian tomorrow about this issue and give an update. >>>>>>> >>>>>>> Chen >>>>>>> >>>>>>> On Tue, Oct 6, 2015 at 8:47 PM, abdullah alamoudi < >>>> [email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> I think we should definitely be concerned that it failed. >>>>>>>> Can you look at the sure-fire reports to see which test case >>>> failed? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Abdullah. >>>>>>>> >>>>>>>> Amoudi, Abdullah. >>>>>>>> >>>>>>>> On Wed, Oct 7, 2015 at 6:02 AM, Chen Li <[email protected]> wrote: >>>>>>>> >>>>>>>>> I did an "mvn verify" but got the following errors. Is there >>>>>> anything >>>>>>> we >>>>>>>>> need to be concerned about? >>>>>>>>> >>>>>>>>> >>>>>>>>> [INFO] >>>>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> [INFO] Reactor Summary: >>>>>>>>> >>>>>>>>> [INFO] >>>>>>>>> >>>>>>>>> [INFO] asterix ............................................ >>>>> SUCCESS [ >>>>>>>>> 48.629 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-test-framework ............................. >>>>> SUCCESS [ >>>>>>>>> 2.716 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-common ..................................... >>>>> SUCCESS [ >>>>>>>>> 3.376 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-maven-plugins .............................. >>>>> SUCCESS [ >>>>>>>>> 0.230 s] >>>>>>>>> >>>>>>>>> [INFO] record-manager-generator-maven-plugin .............. >>>>> SUCCESS [ >>>>>>>>> 3.464 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-transactions ............................... >>>>> SUCCESS [ >>>>>>>>> 4.447 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-om ......................................... >>>>> SUCCESS [ >>>>>>>>> 6.981 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-fuzzyjoin .................................. >>>>> SUCCESS [ >>>>>>>>> 2.688 s] >>>>>>>>> >>>>>>>>> [INFO] lexer-generator-maven-plugin ....................... >>>>> SUCCESS [ >>>>>>>>> 5.286 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-runtime .................................... >>>>> SUCCESS [ >>>>>>>>> 13.435 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-events ..................................... >>>>> SUCCESS [ >>>>>>>>> 2.811 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-metadata ................................... >>>>> SUCCESS [ >>>>>>>>> 5.078 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-aql ........................................ >>>>> SUCCESS [ >>>>>>>>> 3.840 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-external-data .............................. >>>>> SUCCESS [ >>>>>>>>> 7.281 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-algebra .................................... >>>>> SUCCESS [ >>>>>>>>> 3.410 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-tools ...................................... >>>>> SUCCESS [ >>>>>>>>> 30.608 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-app ........................................ >>>>> FAILURE [ >>>>>>>>> 15.548 s] >>>>>>>>> >>>>>>>>> [INFO] asterix-examples ................................... >>>> SKIPPED >>>>>>>>> >>>>>>>>> [INFO] asterix-server ..................................... >>>> SKIPPED >>>>>>>>> >>>>>>>>> [INFO] asterix-installer .................................. >>>> SKIPPED >>>>>>>>> >>>>>>>>> [INFO] asterix-doc ........................................ >>>> SKIPPED >>>>>>>>> >>>>>>>>> [INFO] asterix-yarn ....................................... >>>> SKIPPED >>>>>>>>> >>>>>>>>> [INFO] >>>>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> [INFO] BUILD FAILURE >>>>>>>>> >>>>>>>>> [INFO] >>>>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> [INFO] Total time: 02:40 min >>>>>>>>> >>>>>>>>> [INFO] Finished at: 2015-10-06T20:01:18-07:00 >>>>>>>>> >>>>>>>>> [INFO] Final Memory: 39M/133M >>>>>>>>> >>>>>>>>> [INFO] >>>>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> [ERROR] Failed to execute goal >>>>>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.16:test >>>>>> (default-test) >>>>>>>> on >>>>>>>>> project asterix-app: There are test failures. >>>>>>>>> >>>>>>>>> [ERROR] >>>>>>>>> >>>>>>>>> [ERROR] Please refer to >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> /Users/chenli/tmp/asterix-0.8.7-incubating/asterix-app/target/surefire-reports >>>>>>>>> for the individual test results. >>>>>>>>> >>>>>>>>> [ERROR] -> [Help 1] >>>>>>>>> >>>>>>>>> [ERROR] >>>>>>>>> >>>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven >>>>> with >>>>>>> the >>>>>>>> -e >>>>>>>>> switch. >>>>>>>>> >>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug >>>>>> logging. >>>>>>>>> >>>>>>>>> [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 :asterix-app >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >>> > Best regards, Ildar
