Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D92F010735 for ; Tue, 30 Jul 2013 08:17:56 +0000 (UTC) Received: (qmail 28668 invoked by uid 500); 30 Jul 2013 08:17:55 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 28497 invoked by uid 500); 30 Jul 2013 08:17:54 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 28451 invoked by uid 500); 30 Jul 2013 08:17:53 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 28435 invoked by uid 99); 30 Jul 2013 08:17:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 08:17:52 +0000 Date: Tue, 30 Jul 2013 08:17:52 +0000 (UTC) From: "AllanXiang (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GIRAPH-700) Problem building/installing HBase using Maven MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GIRAPH-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723551#comment-13723551 ] AllanXiang commented on GIRAPH-700: ----------------------------------- Try edit /etc/hosts my hosts is:127.0.0.1 localhost 127.0.1.1 my_machine_name so I modify the 127.0.1.1 to 127.0.0.1,restart to make it effect -------------------- My error text file seems same to you, after I alter the hosts, I build success. Hope this could help you ~ And reference http://blog.devving.com/why-does-hbase-care-about-etchosts/ > Problem building/installing HBase using Maven > --------------------------------------------- > > Key: GIRAPH-700 > URL: https://issues.apache.org/jira/browse/GIRAPH-700 > Project: Giraph > Issue Type: Bug > Components: build, conf and scripts > Affects Versions: 1.1.0 > Environment: Running on 64-bits Ubuntu 13.04, Java version: 1.7.0_25, using Apache Maven 3.0.5 and Hadoop 0.20.203.0 > Hadoop runs like a charm. > Reporter: Marco Aurelio Lotz > Priority: Blocker > Labels: build, failure, hbase, maven > Original Estimate: 20m > Remaining Estimate: 20m > > I am following the user guide in order to install giraph from the Apache Giraph's website. > The command "mvn compile" runs with success. > The problem happens on "mvn -fae install" > I've added the -fae in order to check if the other components would install correctly, since they were just being skipped after the HBASE error. > After a really long time installing, I get the following error: > > [INFO] ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Giraph Parent .............................. SUCCESS [1.072s] > [INFO] Apache Giraph Core ................................ SUCCESS [2:47.603s] > [INFO] Apache Giraph Examples ............................ SUCCESS [4:54.696s] > [INFO] Apache Giraph Accumulo I/O ........................ SUCCESS [35.106s] > [INFO] Apache Giraph HBase I/O ........................... FAILURE [10:09.613s] > [INFO] Apache Giraph HCatalog I/O ........................ SUCCESS [28.443s] > [INFO] Apache Giraph Hive I/O ............................ SUCCESS [3:44.208s] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 22:41.181s > [INFO] Finished at: Thu Jun 27 16:01:11 BST 2013 > [INFO] Final Memory: 58M/418M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project giraph-hbase: There are test failures. > [ERROR] > [ERROR] Please refer to /usr/local/giraph/giraph/giraph-hbase/target/surefire-reports for the individual test results. > > accessing the file on : /usr/local/giraph/giraph/giraph-hbase/target/surefire-reports > I get the following on org.apache.giraph.io.hbase.TestHBaseRootMarkerVertextFormat.txt: > > ------------------------------------------------------------------------------- > Test set: org.apache.giraph.io.hbase.TestHBaseRootMarkerVertextFormat > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 602.327 sec <<< FAILURE! > testHBaseInputOutput(org.apache.giraph.io.hbase.TestHBaseRootMarkerVertextFormat) Time elapsed: 602.219 sec <<< ERROR! > org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for after 10 tries. > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:888) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:797) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:189) > at org.apache.hadoop.hbase.HBaseTestingUtility.restartHBaseCluster(HBaseTestingUtility.java:395) > at org.apache.giraph.io.hbase.TestHBaseRootMarkerVertextFormat.testHBaseInputOutput(TestHBaseRootMarkerVertextFormat.java:139) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) > at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) > at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) > at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) > at org.apache.maven.surefire.Surefire.run(Surefire.java:169) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) > at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) > > looks like theerror is "NoServerForRegionException". I've installed an standalone version of Hbase and it is running correctly. I have found no related issues so far, can anyone help me on it? > Best Regards -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira