Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B23318380 for ; Mon, 16 Nov 2015 21:06:06 +0000 (UTC) Received: (qmail 85895 invoked by uid 500); 16 Nov 2015 21:06:05 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 85840 invoked by uid 500); 16 Nov 2015 21:06:05 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 85830 invoked by uid 99); 16 Nov 2015 21:06:05 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 21:06:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 69A211A2AA5 for ; Mon, 16 Nov 2015 21:06:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.982 X-Spam-Level: ** X-Spam-Status: No, score=2.982 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=deenlo_com.20150623.gappssmtp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JRHNhFv4prrJ for ; Mon, 16 Nov 2015 21:05:59 +0000 (UTC) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 29C34439DA for ; Mon, 16 Nov 2015 21:05:59 +0000 (UTC) Received: by obbww6 with SMTP id ww6so131863342obb.0 for ; Mon, 16 Nov 2015 13:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deenlo_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BIpj40WGwq1iEq9I/Hd/DQy9t/LUOtrLDjbxYPJWvNI=; b=t1iSaaBvHOF/PnVHUR0T8MB6w9NkNa+F0DJxeu+dgPUMDZfvM3iXmoyPLx1tPYeLM/ eTcoDhLLqcD+1eDR8mJ+Z5jJ2J1Du9iFFri33xyckh24JAcervuh/jdytDk5vEKAlusV MrsE7lG1ZYqS+KXNG/J8ta6WzeeKW/b4+jUSkrLDW4V6tscbuIn1QhPFaF7mEATt5jfS y0cYfMljniNFMf92SsCzs8MmsyHEUGWQRfmBFUsHZq62lv3uyQVBnWwrToD0foNfp9Eg J+7NJK46TDKSVzc/9KOz/+48e82uwoKmnBNVXPXS2mwLqlqVKLDG3PkOplTRU741p1xK odsA== 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:date :message-id:subject:from:to:content-type; bh=BIpj40WGwq1iEq9I/Hd/DQy9t/LUOtrLDjbxYPJWvNI=; b=g0CeZpEjqlIVftdPYaabn52luEbDKSRudTwezkboAV4qjxSDlVuZjLWBejjC7XzelK 0FaTeKJe9dmox/VPS8/f494xoqhUp5GAYdmkZPV0xJxlpGfva/o7vewvgzmQgUJCKibB gp3o1ZDULpq5L64F/xk9YuPFA94oawroFN1dtUNtZhUtwLjKRQg7rTbT0MBLsNPoxAQn nlMGdZLELZ34td4OcLhVZw2SnbafJ6VLaDaUq2kDd0hfIiWxyW0EEuXq1VIwKe0JVUMt M/bCxiFVp3llOrxQ6lWxlPO2c5m3NCziPLUQ3/1QrGTPrvVEmv87Mi2j3KhxURVfJr6n g28A== X-Gm-Message-State: ALoCoQlC7czjaVUJdbzu2ABjdsA4zhQ93F7t5fUANRiBG8IK69yXbUVEwhTZgW83Ayfdj2XXnohb MIME-Version: 1.0 X-Received: by 10.182.66.116 with SMTP id e20mr22630845obt.68.1447707958465; Mon, 16 Nov 2015 13:05:58 -0800 (PST) Received: by 10.202.83.87 with HTTP; Mon, 16 Nov 2015 13:05:58 -0800 (PST) In-Reply-To: <56408DA9.3060700@orkash.com> References: <56408DA9.3060700@orkash.com> Date: Mon, 16 Nov 2015 16:05:58 -0500 Message-ID: Subject: Re: Slow ReadProcessor (Degrade in performance) From: Keith Turner To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=e89a8f6431309a9ba30524aec6bf --e89a8f6431309a9ba30524aec6bf Content-Type: text/plain; charset=UTF-8 Mohit, Were you able to figure this problem out? Do you have enough info to know if its a hdfs, Accumulo, network, or OS problem? Keith On Mon, Nov 9, 2015 at 7:12 AM, mohit.kaushik wrote: > > I have a application which query/inserts data in to Accumulo continuously. > But the ingestion performance degrades after a day and continuously > degrades by a considerable factor. I scanned all the hadoop and Accumulo > logs but only found a warning in my two tservers logs after some inserts > regularly. > > [hdfs.DFSClient] WARN : Slow ReadProcessor read fields took 30783ms > (threshold=30000ms); ack: seqno: 427381 reply: SUCCESS reply: SUCCESS > reply: SUCCESS downstreamAckTimeNanos: 66816204 flag: 0 flag: 0 flag: 0, > targets: [DatanodeInfoWithStorage[192.168.10.122:50010,DS-188489f9-89d3-40bd-9d20-9db358d644c9,DISK], > DatanodeInfoWithStorage[192.168.10.123:50010,DS-804290f9-edd0-45a4-ad2d-bb1bd336a348,DISK], > DatanodeInfoWithStorage[192.168.10.121:50010,DS-dd6d6a25-122f-4958-a20b-4ccb82f49f11,DISK]] > > > After monitoring the query time, It seems to be increased(for ex from 30 > ms to 3 sec)after a day and continues. I also get the connection reset > exception regularly in Tserver logs in both read and write operations. > Which I read that it comes when a connection is closed before scan or write > completes. But how does it affect? > > 015-11-08 11:25:23,272 [util.CustomNonBlockingServer$CustomFrameBuffer] > WARN : Got an IOException in internalRead! > java.io.IOException: Connection reset by peer > at sun.nio.ch.FileDispatcherImpl.read0(Native Method) > at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) > at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) > at sun.nio.ch.IOUtil.read(IOUtil.java:197) > at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) > at > org.apache.thrift.transport.TNonblockingSocket.read(TNonblockingSocket.java:141) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.internalRead(AbstractNonblockingServer.java:537) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.read(AbstractNonblockingServer.java:338) > at > org.apache.thrift.server.AbstractNonblockingServer$AbstractSelectThread.handleRead(AbstractNonblockingServer.java:203) > at > org.apache.accumulo.server.util.CustomNonBlockingServer$SelectAcceptThread.select(CustomNonBlockingServer.java:227) > at > org.apache.accumulo.server.util.CustomNonBlockingServer$SelectAcceptThread.run(CustomNonBlockingServer.java:183) > > > Please provide your inputs. > > -Mohit Kaushik > > > --e89a8f6431309a9ba30524aec6bf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Mohit,

Were you able to figure this= problem out?=C2=A0=C2=A0 Do you have enough info to know if its a hdfs, Ac= cumulo, network, or OS problem?

Keith

On Mon, Nov 9, 2015 at = 7:12 AM, mohit.kaushik <mohit.kaushik@orkash.com> wro= te:
=20 =20 =20

I have a application which query/inserts data in to Accumulo continuously. But the ingestion performance degrades after a day and continuously degrades by a considerable factor. I scanned all the hadoop and Accumulo logs but only found a warning in my two tservers logs after some inserts regularly.

[hdfs.DFSClient] WARN : Slow ReadProcessor read fields took 30783ms (threshold=3D30000ms); ack: seqno: 427381 reply: SUCCESS reply: SUCCESS reply: SUCCESS downstreamAckTimeNanos: 66816204 flag: 0 flag: 0 flag: 0, targets: [DatanodeInfoWithStorage[192.168.10.122:50010,DS-188489f9-89d3-40bd-9d20-9db358d644c= 9,DISK], DatanodeInfoWithStorage[192.168.10.123:50010,DS-804290f9-edd0-45a4-ad2d-bb1bd336a34= 8,DISK], DatanodeInfoWithStorage[192.168.10.121:50010,DS-dd6d6a25-122f-4958-a20b-4ccb82f49f1= 1,DISK]]=C2=A0=C2=A0

After monitoring the query time, It seems to be increased(for ex from 30 ms to 3 sec)after a day and continues. I also get the connection reset exception regularly in Tserver logs in both read and write operations. Which I read that it comes when a connection is closed before scan or write completes. But how does it affect?

015-11-08 11:25:23,272 [util.CustomNonBlockingServer$CustomFrameBuffer] WARN : Got an IOException in internalRead!
java.io.IOException: Connection reset by peer
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.FileDispatcher= Impl.read0(Native Method)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.IOUtil.readInt= oNativeBuffer(IOUtil.java:223)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.IOUtil.read(IO= Util.java:197)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.thrift.transport.TNonblockingSocket.read(TNonblockingSocket.java= :141)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.internalRead= (AbstractNonblockingServer.java:537)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.read(Abstrac= tNonblockingServer.java:338)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.thrift.server.AbstractNonblockingServer$AbstractSelectThread.han= dleRead(AbstractNonblockingServer.java:203)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.accumulo.server.util.CustomNonBlockingServer$SelectAcceptThread.= select(CustomNonBlockingServer.java:227)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.accumulo.server.util.CustomNonBlockingServer$SelectAcceptThread.= run(CustomNonBlockingServer.java:183)

=C2=A0Please provide your inputs.

-Mohit Kaushik



--e89a8f6431309a9ba30524aec6bf--