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 C4DD61107A for ; Fri, 25 Apr 2014 07:57:07 +0000 (UTC) Received: (qmail 64222 invoked by uid 500); 25 Apr 2014 07:57:07 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 64103 invoked by uid 500); 25 Apr 2014 07:57:04 -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 64085 invoked by uid 99); 25 Apr 2014 07:57:01 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 07:57:01 +0000 Received: from localhost (HELO mail-ie0-f175.google.com) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 07:57:01 +0000 Received: by mail-ie0-f175.google.com with SMTP id to1so3475805ieb.20 for ; Fri, 25 Apr 2014 00:57:00 -0700 (PDT) X-Gm-Message-State: ALoCoQnFmynzDBwwGzrFj5sx971/7TMWLiIWG+igXveambZk6eedQXRuFmmqbPFyUPjMAbVXceMA MIME-Version: 1.0 X-Received: by 10.50.28.82 with SMTP id z18mr3448079igg.6.1398412620757; Fri, 25 Apr 2014 00:57:00 -0700 (PDT) Received: by 10.64.69.70 with HTTP; Fri, 25 Apr 2014 00:57:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Apr 2014 16:57:00 +0900 Message-ID: Subject: Re: How can I run hama in eclipse environment From: "Edward J. Yoon" To: "dev@hama.apache.org" Content-Type: text/plain; charset=UTF-8 Hi, can you attach the full log of the BSPMaster? Just to be sure, to run Hama in pseudo distributed mode, you must run HDFS first. On Fri, Apr 25, 2014 at 4:19 PM, InJun Song wrote: > Hi, > > I have a question about how to run hama in eclipse environment. > > At first, I set up my develop environment according to this page. ( > http://wiki.apache.org/hama/HowToContribute) > > Then, because I wanted to run pseudo distributed mode, I ran each daemon > under eclipse. (zookeeper -> bspmaster -> groomserver). To run those, I > executed three runner for them; ZookeeprRunner, BSPMasterRunner and > GroomserverRunner. > After all daemons launched, I ran dummy BSP program. > > At that time, BSPMaster throws OOM exception. Code throws an exception is > in "RPC.Invocation.readFields" method. While it executed this line, it > throws the exception. > > parameters = new Object[in.readInt()]; > > The number of object to create is 308766068. If sizeof(java.lang.Object) is > 8 byte, total size is over 2G. I think that it must be wrong. > > What did I mistake? What mistake make me go wrong way? > I am debugging with eclipse, but I want to some advices from you. > > Thank you. -- Best Regards, Edward J. Yoon CEO at DataSayer Co., Ltd.