Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 06959EFEB for ; Wed, 13 Feb 2013 17:33:51 +0000 (UTC) Received: (qmail 51431 invoked by uid 500); 13 Feb 2013 17:33:50 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 51368 invoked by uid 500); 13 Feb 2013 17:33:50 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 51357 invoked by uid 99); 13 Feb 2013 17:33:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 17:33:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.128.169] (HELO mail-ve0-f169.google.com) (209.85.128.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 17:33:44 +0000 Received: by mail-ve0-f169.google.com with SMTP id 15so1327553vea.28 for ; Wed, 13 Feb 2013 09:33:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=i9s3fPTo9BqSchY6XuqNEKiu3aw02eu74Qt1hiCV5Go=; b=WGTZappx4hF9T1qBLn7IYMixbUnDyh0xv4A0HL6a6NI7p1U7LgD5M3OfWqEGRM3Yei QscKeUQVVALJJMPSEOX0IofM4QtfFu0P8gZHeqR1IlKIJxicIyAqnRPz93SB2aA7jfYZ 3SZM7zs9BVTj4FubSiZARgighp89d7nEtiyxOte00FE5ux+w+BUpPMV9PxX8WS8gP5O8 ykXlesZGjXevTksNq/6SKpikz0UdphORMLYC50l8P2vvaLAmtNnX+lrQ9FgismHdT/XV b1kLbtpSUrTRry9CCUPNnkShcgTKL8otRH/t63JtmVoacf3ZjkaBntq4sZ4D+grri/xt ApoQ== MIME-Version: 1.0 X-Received: by 10.220.108.2 with SMTP id d2mr30679394vcp.60.1360776792566; Wed, 13 Feb 2013 09:33:12 -0800 (PST) Received: by 10.220.124.74 with HTTP; Wed, 13 Feb 2013 09:33:12 -0800 (PST) In-Reply-To: References: Date: Wed, 13 Feb 2013 12:33:12 -0500 Message-ID: Subject: Re: MapReduceExample When Executed Displays Usage And Error Message From: Keith Turner To: dev@accumulo.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlXu4jjL6zyavw5YgFIc1jfzb7H85G5v+HFeQhVT/DncXQjNOfAO9UBGNerjSAepT6ctvNE X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Feb 12, 2013 at 9:03 PM, David Medinets wrote: > I pulled the latest Accumulo code, compiled it so I have new jar > files. Then ran the MapReduceExample with no modifications. Here is > the output ... note the stacktrace: Are you still seeing this issue? How are you running the program? Can you comment out the part of the test where it deletes it tmp dir and look at the logs after the test? Should be something like /tmp/macc-/logs. I am wondering if the zookeeper server is dying for some reason, there should be a log for the zookeeper server. Thanks. > > ---- Running Mapred Against Accumulo > > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:zookeeper.version=3D3.3.1-942149, built on 05/07/2010 17:14 > GMT > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:host.name=3Dubuntu20gb > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.version=3D1.7.0_09 > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.vendor=3DOracle Corporation > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.home=3D/usr/local/jdk1.7.0_09/jre > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.class.path=3D/home/medined/workspace/accumulo_playground= /target/classes:/home/medined/workspace/accumulo_playground/target/test-cla= sses:/home/medined/springsource/sts-3.1.0.RELEASE/plugins/org.junit_4.10.0.= v4_10_0_v20120426-0900/junit.jar:/home/medined/springsource/sts-3.1.0.RELEA= SE/plugins/org.hamcrest.core_1.1.0.v20090501071000.jar:/home/medined/worksp= ace/accumulo_playground/lib/commons-cli-1.2.jar:/home/medined/workspace/acc= umulo_playground/lib/commons-codec-1.5.jar:/home/medined/workspace/accumulo= _playground/lib/commons-logging-1.0.4.jar:/home/medined/workspace/accumulo_= playground/lib/commons-logging-api-1.0.4.jar:/home/medined/workspace/accumu= lo_playground/lib/hadoop-core-0.20.2.jar:/home/medined/workspace/accumulo_p= layground/lib/libthrift-0.6.1.jar:/home/medined/workspace/accumulo_playgrou= nd/lib/log4j-1.2.16.jar:/home/medined/workspace/accumulo_playground/lib/slf= 4j-api-1.5.6.jar:/home/medined/workspace/accumulo_playground/lib/slf4j-log4= j12-1.4.3.jar:/home/medined/workspace/accumulo_playground/lib/zookeeper-3.3= .1.jar:/home/medined/workspace/accumulo_playground/lib/commons-jci-fam-1.0.= jar:/home/medined/workspace/accumulo_playground/lib/commons-jci-core-1.0.ja= r:/home/medined/workspace/accumulo_playground/lib/commons-math3-3.0.jar:/ho= me/medined/workspace/accumulo_playground/lib/commons-lang-2.4.jar:/home/med= ined/workspace/accumulo_playground/lib/commons-collections-3.2.jar:/home/me= dined/workspace/accumulo_playground/lib/accumulo-core-1.5.0-SNAPSHOT.jar:/h= ome/medined/workspace/accumulo_playground/lib/accumulo-examples-simple-1.5.= 0-SNAPSHOT.jar:/home/medined/workspace/accumulo_playground/lib/accumulo-fat= e-1.5.0-SNAPSHOT.jar:/home/medined/workspace/accumulo_playground/lib/accumu= lo-proxy-1.5.0-SNAPSHOT.jar:/home/medined/workspace/accumulo_playground/lib= /accumulo-server-1.5.0-SNAPSHOT.jar:/home/medined/workspace/accumulo_playgr= ound/lib/accumulo-start-1.5.0-SNAPSHOT.jar:/home/medined/workspace/accumulo= _playground/lib/accumulo-test-1.5.0-SNAPSHOT.jar:/home/medined/workspace/ac= cumulo_playground/lib/accumulo-trace-1.5.0-SNAPSHOT.jar:/home/medined/works= pace/accumulo_playground/lib/commons-io-2.4.jar:/home/medined/workspace/acc= umulo_playground/lib/jcommander-1.30.jar > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.library.path=3D/usr/local/jdk1.7.0_09/jre/lib/i386/clien= t:/usr/local/jdk1.7.0_09/jre/lib/i386:/usr/local/jdk1.7.0_09/jre/../lib/i38= 6:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/client:/usr/lib/jvm/java-6-= openjdk-i386/jre/lib/i386:/usr/lib/jvm/java-6-openjdk-i386/jre/../lib/i386:= /usr/java/packages/lib/i386:/lib:/usr/lib > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.io.tmpdir=3D/tmp > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:java.compiler=3D > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client environment:os.name=3D= Linux > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client environment:os.arch=3D= i386 > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:os.version=3D3.2.0-35-generic-pae > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client environment:user.name= =3Dmedined > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:user.home=3D/home/medined > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Client > environment:user.dir=3D/home/medined/workspace/accumulo_playground > 13/02/12 19:34:45 INFO zookeeper.ZooKeeper: Initiating client > connection, connectString=3Dlocalhost:3489 sessionTimeout=3D30000 > watcher=3Dorg.apache.accumulo.fate.zookeeper.ZooSession$ZooWatcher@11b16 > 13/02/12 19:34:45 INFO zookeeper.ClientCnxn: Opening socket connection > to server localhost/127.0.0.1:3489 > 13/02/12 19:34:45 WARN zookeeper.ClientCnxn: Session 0x0 for server > null, unexpected error, closing socket connection and attempting > reconnect > java.net.ConnectException: Connection refused > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.j= ava:692) > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java= :1078) > > > I am using SVN#1445420 with Java v1.7.0_09-b05 on Ubuntu inside of Eclips= e. > > If I comment out the run() call inside main() as I did before, I am > still seeing this: > > java.io.IOException: Stream closed > at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.j= ava:162) > at java.io.BufferedInputStream.read(BufferedInputStream.java:325) > at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) > at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) > at java.io.InputStreamReader.read(InputStreamReader.java:184) > at java.io.BufferedReader.fill(BufferedReader.java:154) > at java.io.BufferedReader.readLine(BufferedReader.java:317) > at java.io.BufferedReader.readLine(BufferedReader.java:382) > at org.apache.accumulo.test.MiniAccumuloCluster$LogWriter.run(Min= iAccumuloCluster.java:88)