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 2EBEF200AE3 for ; Wed, 4 May 2016 11:58:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2D5351601A3; Wed, 4 May 2016 09:58:18 +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 7423E1601A2 for ; Wed, 4 May 2016 11:58:17 +0200 (CEST) Received: (qmail 22540 invoked by uid 500); 4 May 2016 09:58:16 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 22529 invoked by uid 99); 4 May 2016 09:58:16 -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, 04 May 2016 09:58:16 +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 27ECDC0176 for ; Wed, 4 May 2016 09:58:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.22 X-Spam-Level: X-Spam-Status: No, score=-3.22 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, WEIRD_PORT=0.001] autolearn=disabled 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 OrZd1emKws6v for ; Wed, 4 May 2016 09:58:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id D4BCA5FB04 for ; Wed, 4 May 2016 09:58:13 +0000 (UTC) Received: (qmail 21888 invoked by uid 99); 4 May 2016 09:58:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 09:58:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E07122C0451 for ; Wed, 4 May 2016 09:58:12 +0000 (UTC) Date: Wed, 4 May 2016 09:58:12 +0000 (UTC) From: "Sharmadha Sainath (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-690) Read timed out exceptions when tables are imported into Atlas. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 May 2016 09:58:18 -0000 [ https://issues.apache.org/jira/browse/ATLAS-690?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15270= 418#comment-15270418 ]=20 Sharmadha Sainath commented on ATLAS-690: ----------------------------------------- With ATLAS-690-4.patch , test run with 10,000 tables on cluster, imported a= ll tables without any Read timed out exceptions. The import completed in 14= minutes 31 seconds and all tables are imported into Atlas. =20 > Read timed out exceptions when tables are imported into Atlas. > -------------------------------------------------------------- > > Key: ATLAS-690 > URL: https://issues.apache.org/jira/browse/ATLAS-690 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.7-incubating > Environment: Atlas with External Kafka/ HBase / Solr > atlas.notification.hook.numthreads=3D5 > ATLAS_HOOK created with 5 partitions > Reporter: Sharmadha Sainath > Assignee: Hemanth Yamijala > Priority: Blocker > Fix For: 0.7-incubating > > Attachments: ATLAS-690-3.patch, ATLAS-690-4.patch > > > When 1000 tables are imported into Atlas using Hive hook,Read time out ex= ceptions occur. This happened with the latest Atlas build with commit id : = 922a83c9a10e857d54855463225e9a5c375bc2b9.=20 > =E2=80=A2=C2=A0Hive ingestion was completed in 1 minute 50 secs.=20 > =E2=80=A2 Atlas ingestion took more than an hour . > With Last 1000 tables run that was done in Atlas with commit id : > b9575f29df3cc014f1b076abf52d88249bf4d0ef, > =E2=80=A2 Hive ingestion was completed in 3 minutes > =E2=80=A2 Atlas ingestion by 5 minutes. > The Exception stack trace : > Error handling message org.apache.atlas.notification.hook.HookNotificatio= n$EntityUpdateRequest@7474dd2d (NotificationHookConsumer:224) > com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutE= xception: Read timed out > at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(= URLConnectionClientHandler.java:155) > at com.sun.jersey.api.client.Client.handle(Client.java:652) > at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682) > at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) > at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:= 634) > at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:911) > at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:565) > at org.apache.atlas.AtlasClient.callAPI(AtlasClient.java:935) > at org.apache.atlas.AtlasClient.updateEntities(AtlasClient.java:530) > at org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.ru= n(NotificationHookConsumer.java:216) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471= ) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j= ava:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.= java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.net.SocketTimeoutException: Read timed out > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:152) > at java.net.SocketInputStream.read(SocketInputStream.java:122) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) > at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) > at java.io.BufferedInputStream.read(BufferedInputStream.java:334) > at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:689) > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConn= ection.java:1324) > at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) > at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke= (URLConnectionClientHandler.java:253) > at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(= URLConnectionClientHandler.java:153) -- This message was sent by Atlassian JIRA (v6.3.4#6332)