Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 829D5200BC1 for ; Wed, 2 Nov 2016 05:45:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8126D160B07; Wed, 2 Nov 2016 04:45:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A157B160B02 for ; Wed, 2 Nov 2016 05:45:06 +0100 (CET) Received: (qmail 51587 invoked by uid 500); 2 Nov 2016 04:45:05 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 51571 invoked by uid 99); 2 Nov 2016 04:45:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 04:45:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6F9ADC0EDB for ; Wed, 2 Nov 2016 04:45:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.829 X-Spam-Level: X-Spam-Status: No, score=0.829 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Yg3n5yU5qfYB for ; Wed, 2 Nov 2016 04:45:00 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 301655F2C3 for ; Wed, 2 Nov 2016 04:45:00 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id c13so3037538lfg.0 for ; Tue, 01 Nov 2016 21:45:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=uo9SV2CswKMvguW3W3DFZwyOsjrtAUJbZIfXzF4c+2g=; b=m/Eq223WCfqHprXe+l2tblmw+NYEhhjjyhPGHeCL1SaGcrN5oL9ZyN1z/pr2ZHkse9 W/EqhlCHFHwexeXiguB/AgtH2pAU1XQvkgLSUHZEA5TCt3J3ewWRCjdT3MNkmQk4UQbT hSnglwE6YNvo1Vp5BnbiA8NQqz9yzzkI/GjgOHmdE3raK7Y1MNH6u0R++sF+QBUwcsWB 8iAHikAA282KB+RbaMuX0zZF31YFJsPtpH3IWUxyu1PmippituHDlf9tjWhTWlMwUQJM JGkVk7vixGPB2tIfNpbAeP4nr1/XnfSP3NybPEYJwSwtTbc3Shqm96cywBJJw/EV68AJ /Wyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=uo9SV2CswKMvguW3W3DFZwyOsjrtAUJbZIfXzF4c+2g=; b=Dhuyp6NR7B+CXO1k6nsSrZTzpnhYbpSYUrnv2SrWgYxkttBI/ima04e/WC8bEhVV/M sTLf1Z5TOPZBLHFXAtDBJLu+7dXDJXlfn4r2488tywgmYJSTSq/pYkLHQYSOqb3lJ/4K FGPQPHsQXo7JkBhZYi3qRzLMCztNdRbIaoK47PD7q5MUt7LPaVphxiaCDSwd++wyvEfk qg5yfns4MRXXFi929cCHR6imFetuUFzRHiRIue5dqM+mS68MlJGqbL12Qp0p7UXShlP8 3evdGPO5BfnFk6qZsKgKSlj2wXUXCKBfGzVLhBeq+OjGfTz+y+DivN9I1ThZz+M0sQ+h m+wQ== X-Gm-Message-State: ABUngvfqTSmoW1at/eaNLh4JM1ZWXtWurJ+1bkb8l9rwlqBOoKWD4WnJ3pHQR3DkDigj/9Hhtm+0GYXzm983l9iI X-Received: by 10.25.99.12 with SMTP id x12mr672713lfb.174.1478061890365; Tue, 01 Nov 2016 21:44:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.97.131 with HTTP; Tue, 1 Nov 2016 21:44:29 -0700 (PDT) In-Reply-To: <87funailep.fsf@gmail.com> References: <87funailep.fsf@gmail.com> From: Dimitris Tsirogiannis Date: Tue, 1 Nov 2016 21:44:29 -0700 Message-ID: Subject: Re: Bootstrapping a impala dev failed on fresh installed Ubuntu 14.04 To: dev@impala.incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Wed, 02 Nov 2016 04:45:07 -0000 Hi Amos, You need to increase your limits (/etc/security/limits.conf) for max number of open files (nofile). Use a pretty big number (e.g. 500K) for both soft and hard. Hope that helps. Dimitris On Tue, Nov 1, 2016 at 8:57 PM, Amos Bird wrote: > > Hi there, > > After days of efforts to make impala's local tests work on my Centos > machine, I finally gave up and turns to Ubuntu. I followed this simple > guide > https://cwiki.apache.org/confluence/display/IMPALA/Bootstrapping+an+Impal= a+Development+Environment+From+Scratch > on a fresh installed Ubuntu 14.04. Unfortunately there are still errors > in loading data phase. Here is the error log, > > -------------------------------------------------------------------------= -------------------- > Loading Kudu TPCH (logging to /home/amos/impala/logs/data_loading/load-ku= du-tpch.log)... FAILED > 'load-data tpch core kudu/none/none force' failed. Tail of log: > distribute by hash (c_custkey) into 9 buckets stored as kudu > > (load-tpch-core-impala-generated-kudu-none-none.sql): > > > Executing HBase Command: hbase shell load-tpch-core-hbase-generated.creat= e > 16/11/02 01:07:58 INFO Configuration.deprecation: hadoop.native.lib is de= precated. Instead, use io.native.lib.available > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in [jar:file:/home/amos/impala/toolchain/cdh_compone= nts/hbase-1.2.0-cdh5.10.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/i= mpl/StaticLoggerBinder.class] > SLF4J: Found binding in [jar:file:/home/amos/impala/toolchain/cdh_compone= nts/hadoop-2.6.0-cdh5.10.0-SNAPSHOT/share/hadoop/common/lib/slf4j-log4j12-1= .7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an expla= nation. > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > Executing HBase Command: hbase shell post-load-tpch-core-hbase-generated.= sql > 16/11/02 01:08:03 INFO Configuration.deprecation: hadoop.native.lib is de= precated. Instead, use io.native.lib.available > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in [jar:file:/home/amos/impala/toolchain/cdh_compone= nts/hbase-1.2.0-cdh5.10.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/i= mpl/StaticLoggerBinder.class] > SLF4J: Found binding in [jar:file:/home/amos/impala/toolchain/cdh_compone= nts/hadoop-2.6.0-cdh5.10.0-SNAPSHOT/share/hadoop/common/lib/slf4j-log4j12-1= .7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an expla= nation. > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > Invalidating Metadata > (load-tpch-core-impala-load-generated-kudu-none-none.sql): > INSERT INTO TABLE tpch_kudu.lineitem SELECT * FROM tpch.lineitem > > Data Loading from Impala failed with error: ImpalaBeeswaxException: > Query aborted: > Kudu error(s) reported, first error: Timed out: Failed to write batch of = 2708 ops to tablet 84aa134fb6c24916aa16cf50f48ec557 after 329 attempt(s): F= ailed to write to server: (no server available): Write(tablet: 84aa134fb6c2= 4916aa16cf50f48ec557, num_ops: 2708, num_attempts: 329) passed its deadline= : Network error: recv error: Connection reset by peer (error 104) > > > > Kudu error(s) reported, first error: Timed out: Failed to write batch of = 2708 ops to tablet 84aa134fb6c24916aa16cf50f48ec557 after 329 attempt(s): F= ailed to write to server: (no server available): Write(tablet: 84aa134fb6c2= 4916aa16cf50f48ec557, num_ops: 2708, num_attempts: 329) passed its deadline= : Network error: recv error: Connection reset by peer (error 104) > Error in Kudu table 'impala::tpch_kudu.lineitem': Timed out: Failed to wr= ite batch of 2708 ops to tablet 84aa134fb6c24916aa16cf50f48ec557 after 329 = attempt(s): Failed to write to server: (no server available): Write(tablet:= 84aa134fb6c24916aa16cf50f48ec557, num_ops: 2708, num_attempts: 329) passed= its deadline: Network error: recv error: Connection reset by peer (error 1= 04) (1 of 2708 similar) > > Traceback (most recent call last): > File "/home/amos/impala/bin/load-data.py", line 158, in exec_impala_que= ry_from_file > result =3D impala_client.execute(query) > File "/home/amos/impala/tests/beeswax/impala_beeswax.py", line 173, in = execute > handle =3D self.__execute_query(query_string.strip(), user=3Duser) > File "/home/amos/impala/tests/beeswax/impala_beeswax.py", line 339, in = __execute_query > self.wait_for_completion(handle) > File "/home/amos/impala/tests/beeswax/impala_beeswax.py", line 359, in = wait_for_completion > raise ImpalaBeeswaxException("Query aborted:" + error_log, None) > ImpalaBeeswaxException: ImpalaBeeswaxException: > Query aborted: > Kudu error(s) reported, first error: Timed out: Failed to write batch of = 2708 ops to tablet 84aa134fb6c24916aa16cf50f48ec557 after 329 attempt(s): F= ailed to write to server: (no server available): Write(tablet: 84aa134fb6c2= 4916aa16cf50f48ec557, num_ops: 2708, num_attempts: 329) passed its deadline= : Network error: recv error: Connection reset by peer (error 104) > > > > Kudu error(s) reported, first error: Timed out: Failed to write batch of = 2708 ops to tablet 84aa134fb6c24916aa16cf50f48ec557 after 329 attempt(s): F= ailed to write to server: (no server available): Write(tablet: 84aa134fb6c2= 4916aa16cf50f48ec557, num_ops: 2708, num_attempts: 329) passed its deadline= : Network error: recv error: Connection reset by peer (error 104) > Error in Kudu table 'impala::tpch_kudu.lineitem': Timed out: Failed to wr= ite batch of 2708 ops to tablet 84aa134fb6c24916aa16cf50f48ec557 after 329 = attempt(s): Failed to write to server: (no server available): Write(tablet:= 84aa134fb6c24916aa16cf50f48ec557, num_ops: 2708, num_attempts: 329) passed= its deadline: Network error: recv error: Connection reset by peer (error 1= 04) (1 of 2708 similar) > > Error in /home/amos/impala/testdata/bin/create-load-data.sh at line 45: w= hile [ -n "$*" ] > + cleanup > + rm -rf /tmp/tmp.hMzGwIcUo3 > -------------------------------------------------------------------------= -------------------- > > This kinda blocks my patch's rebasing. Any help is much appreciated! > > regards, > Amos