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 84E6D113FB for ; Tue, 23 Sep 2014 15:38:36 +0000 (UTC) Received: (qmail 75768 invoked by uid 500); 23 Sep 2014 15:33:26 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 74935 invoked by uid 500); 23 Sep 2014 15:33:25 -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 70619 invoked by uid 99); 23 Sep 2014 15:26:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 15:26:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dongjin.lee.kr@gmail.com designates 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 15:25:39 +0000 Received: by mail-wi0-f179.google.com with SMTP id d1so5337755wiv.6 for ; Tue, 23 Sep 2014 08:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kTQtWluFyjTmfZ38UQvNNa6E3otBQpEflrWhC/nlcak=; b=IMvoIUHLMyURoPHHMKCB2A7H87LgvnCKgyI+qyHKXzhsRlhImxowQhloM8bN4hHxpO 4J5+feg4p9SeYKyAd81+d2OFCXXZriQ9gW3d9SlG8hrDEukkg674bw07bnUSd8jISenp jgUPMFOuZNdJwrNPr5O6GS1o9tppB1KzeXZ3fGNVkku+9zDnHYexIQRz/bv8CSupvsv4 Z6rO+YMp6m53GqWX7MgSHi6RBuzIEMqKLDGDUnhn3focOeYknfHVQ8k+NK9Om27dMWKf f5SphpCE/NNCTyD89xv9yQD0Lyti3xAUHnRO7/n6sCLc/L2ZNYHWVzj///7ObLXYJumD Q54A== MIME-Version: 1.0 X-Received: by 10.180.149.130 with SMTP id ua2mr23424356wib.68.1411485938315; Tue, 23 Sep 2014 08:25:38 -0700 (PDT) Received: by 10.27.84.136 with HTTP; Tue, 23 Sep 2014 08:25:38 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Sep 2014 00:25:38 +0900 Message-ID: Subject: Re: Get struck after upgrading hadoop to 2.5.1 From: Dongjin Lee To: dev@hama.apache.org Content-Type: multipart/alternative; boundary=001a11c3812af577bc0503bd2dd5 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3812af577bc0503bd2dd5 Content-Type: text/plain; charset=UTF-8 I just submitted a patch. Thanks, Dongjin On Mon, Sep 22, 2014 at 9:07 PM, Edward J. Yoon wrote: > > May I file this one on JIRA? > > Please do. It seems like a bug. Thanks! > > On Mon, Sep 22, 2014 at 3:09 PM, Dongjin Lee > wrote: > > Hello. > > > > I retried it with updating ${HAMA_HOME}/lib, but it also failed. I'm > > increasingly certain that this problem is caused by hadoop 2.5.x. > > > > OK, Let me explain in detail. I cleaned & rebuilded hama 0.6.4 with > hadoop > > 2.5.1, using 'mvn clean package -Phadoop2 -Dhadoop.version=2.5.1'. After > > that, I substituted the whole installation to my new build, except conf > > directory. > > > > But when I run 'start-bspd.sh', it crashes with following error messages: > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/commons/collections/map/UnmodifiableMap > > at > > > org.apache.hadoop.conf.Configuration$DeprecationContext.(Configuration.java:394) > > at org.apache.hadoop.conf.Configuration.(Configuration.java:434) > > at org.apache.hama.zookeeper.ZKServerTool.main(ZKServerTool.java:37) > > Caused by: java.lang.ClassNotFoundException: > > org.apache.commons.collections.map.UnmodifiableMap > > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > > ... 3 more > > starting bspmaster, logging to > > > /home/dongjinleekr/opt/hama-0.6.4/bin/../logs/hama-dongjinleekr-bspmaster-dongjinleekr-unix.out > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/commons/collections/map/UnmodifiableMap > > at > > > org.apache.hadoop.conf.Configuration$DeprecationContext.(Configuration.java:394) > > at org.apache.hadoop.conf.Configuration.(Configuration.java:434) > > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:62) > > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > > at org.apache.hama.BSPMasterRunner.main(BSPMasterRunner.java:56) > > Caused by: java.lang.ClassNotFoundException: > > org.apache.commons.collections.map.UnmodifiableMap > > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > > at java.security.AccessController.doPrivileged(Native Method) > > localhost: starting groom, logging to > > > /home/dongjinleekr/opt/hama-0.6.4/bin/../logs/hama-dongjinleekr-groom-dongjinleekr-unix.out > > localhost: Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/commons/collections/map/UnmodifiableMap > > localhost: at > > > org.apache.hadoop.conf.Configuration$DeprecationContext.(Configuration.java:394) > > localhost: at > > org.apache.hadoop.conf.Configuration.(Configuration.java:434) > > localhost: at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:62) > > localhost: at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > > localhost: at > > org.apache.hama.GroomServerRunner.main(GroomServerRunner.java:59) > > localhost: Caused by: java.lang.ClassNotFoundException: > > org.apache.commons.collections.map.UnmodifiableMap > > localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > > localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > > localhost: at java.security.AccessController.doPrivileged(Native Method) > > > > The following is the contents of my hama-site.xml. As you can see, I run > my > > hama distribution in pseudo-distributed mode, with separate zookeeper > nodes. > > > > > > > > > > > > bsp.master.address > > localhost:40000 > > > > > > fs.default.name > > hdfs://localhost:9000 > > > > > > hama.zookeeper.property.clientPort > > 2181 > > > > > > > > How do you think about this problem? May I file this one on JIRA? I am > now > > inspecting ZKServerTool.main() and BSPMasterRunner.main(), seeking a > > solution. > > > > +1. What log do you exactly mean? Master branch's log? > > > > Thanks, > > Dongjin > > > > On Mon, Sep 22, 2014 at 8:58 AM, Edward J. Yoon > > wrote: > > > >> Hi, have you looked at the Master's log? > >> > >> And, you also need to replace hadoop jar files in ${HAMA_HOME}/lib > folder. > >> > >> On Mon, Sep 22, 2014 at 6:46 AM, Dongjin Lee > >> wrote: > >> > Hello All. > >> > > >> > I am a developer who have been run hama with hadoop 1.2.1. Last > weekend, > >> I > >> > upgraded my hadoop distribution to latest one, version 2.5.1. Although > >> all > >> > other things run well, my hama distribution (0.6.4) does not run > properly > >> > anymore. > >> > > >> > Let's explain a bit more in detail: I rebuilded hama with hadoop2 > profile > >> > and updated all jar files. I never changed any hama config file. > However, > >> > when I try to run hama job like following, it fails to connect to bsp > >> > master. > >> > > >> > dongjinleekr@dongjinleekr-unix:~$ hama jar hama-examples-0.6.4.jar > gen > >> > fastgen 100 10 randomgraph 2 > >> > 14/09/22 06:30:59 INFO ipc.Client: Retrying connect to server: > localhost/ > >> > 127.0.0.1:40000. Already tried 0 time(s); retry policy is > >> > RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 > SECONDS) > >> > ... > >> > java.net.ConnectException: Call to localhost/127.0.0.1:40000 failed > on > >> > connection exception: java.net.ConnectException: Connection refused > >> > > >> > I checked the processes with jps, but all the daemons were running > well. > >> Is > >> > there any other person who experienced the same? I am now suspecting > that > >> > some updates applied to hadoop 2.5.0 are causing this problem. > >> > > >> > Any guidance will be greatly helped. > >> > > >> > Thanks in Advance, > >> > Dongjin Lee > >> > > >> > -- > >> > *Dongjin Lee* > >> > > >> > > >> > *Oracle Server Technologies Group.So interested in massive-scale > machine > >> > learning.facebook: www.facebook.com/dongjin.lee.kr > >> > linkedin: > >> > kr.linkedin.com/in/dongjinleekr > >> > github: > >> > github.com/dongjinleekr > >> > twitter: www.twitter.com/dongjinleekr > >> > * > >> > >> > >> > >> -- > >> Best Regards, Edward J. Yoon > >> CEO at DataSayer Co., Ltd. > >> > > > > > > > > -- > > *Dongjin Lee* > > > > > > *Oracle Server Technologies Group.So interested in massive-scale machine > > learning.facebook: www.facebook.com/dongjin.lee.kr > > linkedin: > > kr.linkedin.com/in/dongjinleekr > > github: > > github.com/dongjinleekr > > twitter: www.twitter.com/dongjinleekr > > * > > > > -- > Best Regards, Edward J. Yoon > CEO at DataSayer Co., Ltd. > -- *Dongjin Lee* *Oracle Server Technologies Group.So interested in massive-scale machine learning.facebook: www.facebook.com/dongjin.lee.kr linkedin: kr.linkedin.com/in/dongjinleekr github: github.com/dongjinleekr twitter: www.twitter.com/dongjinleekr * --001a11c3812af577bc0503bd2dd5--