Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-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 C31B2EAB6 for ; Mon, 7 Jan 2013 12:12:16 +0000 (UTC) Received: (qmail 74377 invoked by uid 500); 7 Jan 2013 12:12:16 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 73606 invoked by uid 500); 7 Jan 2013 12:12:15 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 73527 invoked by uid 99); 7 Jan 2013 12:12:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 12:12:13 +0000 Date: Mon, 7 Jan 2013 12:12:13 +0000 (UTC) From: "Suraj Menon (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HAMA-705) run the pagerank example , got the wrong result 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/HAMA-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suraj Menon resolved HAMA-705. ------------------------------ Resolution: Not A Problem > run the pagerank example , got the wrong result > ----------------------------------------------- > > Key: HAMA-705 > URL: https://issues.apache.org/jira/browse/HAMA-705 > Project: Hama > Issue Type: Question > Components: examples > Affects Versions: 0.6.0 > Environment: Ubuntu 12.04 32bit > JDK 1.6.33 > hadoop 1.0.4 > Reporter: ding.lee > Labels: examples, hama, pagerank > Fix For: 0.6.0 > > Original Estimate: 3h > Remaining Estimate: 3h > > I'v installed the hama-0.6.0 with pseudo distributed mode. > but when i run the pagerank example several times with the command line : > hama jar hama-examples-0.6.0.jar pagerank /tmp/input/input.txt /tmp/output > the input.txt is: > stackoverflow.com\tyahoo.com > facebook.com\ttwitter.com\tgoogle.com\tnasa.gov > yahoo.com\tnasa.gov\tstackoverflow.com > twitter.com\tgoogle.com\tfacebook.com > nasa.gov\tyahoo.com\tstackoverflow.com > youtube.com\tgoogle.com\tyahoo.com > but i'v got the wrong result with every verticle's value is the same: > stackoverflow.com\tyahoo.com 0.16539487340086836 > facebook.com\ttwitter.com\tgoogle.com\tnasa.gov 0.16539487340086836 > yahoo.com\tnasa.gov\tstackoverflow.com 0.16539487340086836 > twitter.com\tgoogle.com\tfacebook.com 0.16539487340086836 > nasa.gov\tyahoo.com\tstackoverflow.com 0.16539487340086836 > youtube.com\tgoogle.com\tyahoo.com 0.16539487340086836 > my tasklog is attempt_201212311309_0008_000000_0.log: > 12/12/31 13:37:08 INFO sync.ZKSyncClient: Initializing ZK Sync Client > 12/12/31 13:37:08 INFO sync.ZooKeeperSyncClientImpl: Start connecting to Zookeeper! At lee- OptiPlex-790/10.0.0.2:61001 > 12/12/31 13:37:08 ERROR sync.ZooKeeperSyncClientImpl: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /bsp/job_201212311309_0008/peers > 12/12/31 13:37:08 INFO ipc.Server: Starting SocketReader > 12/12/31 13:37:08 INFO ipc.Server: IPC Server Responder: starting > 12/12/31 13:37:08 INFO ipc.Server: IPC Server listener on 61001: starting > 12/12/31 13:37:08 INFO message.HadoopMessageManagerImpl: BSPPeer address:lee-OptiPlex-790 port:61001 > 12/12/31 13:37:08 INFO ipc.Server: IPC Server handler 0 on 61001: starting > 12/12/31 13:37:12 INFO ipc.Server: Stopping server on 61001 > 12/12/31 13:37:12 INFO ipc.Server: Stopping IPC Server listener on 61001 > 12/12/31 13:37:12 INFO ipc.Server: IPC Server handler 0 on 61001: exiting > 12/12/31 13:37:12 INFO metrics.RpcInstrumentation: shut down > 12/12/31 13:37:12 INFO ipc.Server: Stopping IPC Server Responder > 12/12/31 13:37:12 ERROR bsp.BSPTask: Shutting down ping service. > hama-hadoop-bspmaster-lee-OptiPlex-790.log: > 2012-12-31 13:37:07,908 INFO org.apache.hama.bsp.JobInProgress: Job is initialized. > 2012-12-31 13:37:13,626 INFO org.apache.hama.bsp.JobInProgress: Job successfully done. > hama-hadoop-groom-lee-OptiPlex-790.log: > 2012-12-31 13:37:07,981 INFO org.apache.hama.bsp.GroomServer: Task 'attempt_201212311309_0008_000000_0' has started. > 2012-12-31 13:37:12,812 INFO org.apache.hama.bsp.GroomServer: Task attempt_201212311309_0008_000000_0 is done. > hama-hadoop-zookeeper-lee-OptiPlex-790.log: > 2012-12-31 13:09:45,415 ERROR org.apache.zookeeper.server.quorum.QuorumPeerConfig: Invalid configuration, only one server specified (ignoring) > i don't know if there is something wrong with the zookeeper, but i follow the installion guide and set the hama-site.xml: > > > bsp.master.address > lee-OptiPlex-790:40000 > The address of the bsp master server. Either the > literal string "local" or a host:port for distributed mode > > > > fs.default.name > hdfs://lee-OptiPlex-790:9000 > > The name of the default file system. Either the literal string > "local" or a host:port for HDFS. > > > > hama.zookeeper.quorum > lee-OptiPlex-790 > > > > so , help me! thanks :) -- 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