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 47188200BA5 for ; Wed, 19 Oct 2016 11:47:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 45A1C160AEA; Wed, 19 Oct 2016 09:47:37 +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 63BB4160ADE for ; Wed, 19 Oct 2016 11:47:36 +0200 (CEST) Received: (qmail 11557 invoked by uid 500); 19 Oct 2016 09:47:35 -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 11546 invoked by uid 99); 19 Oct 2016 09:47:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2016 09:47:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A332AC0DD9 for ; Wed, 19 Oct 2016 09:47:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.778 X-Spam-Level: X-Spam-Status: No, score=0.778 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.499, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id y7CDMtPfMxjc for ; Wed, 19 Oct 2016 09:47:32 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7574D5FBF7 for ; Wed, 19 Oct 2016 09:47:31 +0000 (UTC) Received: from emg-ca-1-2.securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id D095153EBB for ; Wed, 19 Oct 2016 02:47:29 -0700 (PDT) Subject: Re: Web UI problem with Atlas 0.7 MIME-Version: 1.0 x-echoworx-msg-id: a36c11c1-ff3f-4be0-affe-3988c79b4efd x-echoworx-emg-received: Wed, 19 Oct 2016 02:47:29.782 -0700 x-echoworx-message-code-hashed: 2fadc49bee440d3f4b03df7b5db3e532d2efd1264372e0f8cf8ccc7ff5b01691 x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 890 for ; Wed, 19 Oct 2016 02:47:29 -0700 (PDT) Received: from MBX080-W5-CO-1.exch080.serverpod.net (unknown [10.224.117.103]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 8958153EBB for ; Wed, 19 Oct 2016 02:47:29 -0700 (PDT) Received: from MBX080-W5-CO-1.exch080.serverpod.net (10.224.117.103) by MBX080-W5-CO-1.exch080.serverpod.net (10.224.117.103) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 19 Oct 2016 02:47:28 -0700 Received: from MBX080-W5-CO-1.exch080.serverpod.net ([10.224.117.103]) by MBX080-W5-CO-1.exch080.serverpod.net ([10.224.117.103]) with mapi id 15.00.1178.000; Wed, 19 Oct 2016 02:47:28 -0700 From: Shwetha Shivalingamurthy To: "dev@atlas.incubator.apache.org" Thread-Topic: Web UI problem with Atlas 0.7 Thread-Index: AQHSKEqKDqZSH3a9xUiQLNrzLvsvSqCsxOKAgAA+wACAAEZaAIABJGmAgAF1LICAAHj+AA== Date: Wed, 19 Oct 2016 09:47:28 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [182.75.56.22] x-source-routing-agent: Processed Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable archived-at: Wed, 19 Oct 2016 09:47:37 -0000 Distro built from master works for me. Embedded kafka data is in /data/kafka. Try clearing /data and restart. Else, try with external kafka Regards, Shwetha On 19/10/16, 1:34 PM, "Isma=EBl Mej=EDa" wrote: >Hello again, > >I enabled the ALL level in the log4j configuration and I can't see any >additional exception (apart of the one I already reported), > >This exception seems to be related to Kafka not starting at the good >moment, however I don't think this is related or critical for the >dashboard >initialization, is it ? > >Can anybody please help me confirm that the dashboard of the distro works >out of the box on master (I assume that it is broke on 0.7 because of the >breadcrumps issue). > >Thanks, >Isma=EBl > > >On Tue, Oct 18, 2016 at 6:18 AM, Shwetha Shivalingamurthy < >sshivalingamurthy@hortonworks.com> wrote: > >> Can you enable debug logs in atlas-log4j.xml and check if there is any >> issue with service startup? >> >> Regards, >> Shwetha >> >> >> >> >> >> >> On 17/10/16, 9:52 PM, "Isma=EBl Mej=EDa" wrote: >> >> >Hello again, >> > >> >I tried with the git master version and I still have the same issue of >>not >> >seeing anything after login in the WebUI. >> > >> >What other data/table does the GUI depend on ? (apart of the given >> >Types/Entities), because I think there is something else that maybe I >>am >> >missing. >> > >> >Regards, >> >Isma=EBl >> > >> >On Mon, Oct 17, 2016 at 2:10 PM, Jean-Baptiste Onofr=E9 >> >wrote: >> > >> >> Hi guys, >> >> >> >> As 0.7.0 is not super useful with this fix, I would propose to >>release >> >> 0.7.1 at least to fix that. >> >> >> >> I have couple of other Jira in my bucket I would like to include in a >> >> 0.7.1 release as well. >> >> >> >> Thoughts ? >> >> >> >> Regards >> >> JB >> >> >> >> >> >> On 10/17/2016 10:25 AM, Keval Bhatt wrote: >> >> >> >>> Hi Isma=EBl >> >>> >> >>> Recently Atlas UI was not loading after fresh build due to >> >>> jquery-asBreadcrumbs plugin changes and this is fixed on master. >> >>> >> >>> ATLAS-1199 >> >>> >> >>> Please checkout the latest code from master >> >>> >> >>> >> >>> >> >>> Thanks, >> >>> Keval Bhatt >> >>> >> >>> On Mon, Oct 17, 2016 at 1:15 PM, Isma=EBl Mej=EDa >> >>>wrote: >> >>> >> >>> Hello, >> >>>> >> >>>> I used Atlas 0.5 and some of the earlier version of Atlas 0.7 with >>no >> >>>> issues. >> >>>> However I am trying to use the released version of Atlas 0.7 and I >>am >> >>>> having >> >>>> some problems. I built the binary distribution with embedded >> >>>>hbase/solr >> >>>> following the instructions from the website: >> >>>> >> >>>> mvn clean package -Pdist,embedded-hbase-solr -DskipTests >> >>>> >> >>>> Then I start Atlas like this: >> >>>> >> >>>> export MANAGE_LOCAL_SOLR=3Dtrue >> >>>> export MANAGE_LOCAL_HBASE=3Dtrue >> >>>> bin/atlas_start.py >> >>>> >> >>>> If I go to the initial webpage http://localhost:21000/ >> >>>> >> >>>> I see the login/password page and once I log in with the admin >>user I >> >>>> get a >> >>>> blank page. >> >>>> >> >>>> I considered that maybe I was missing some basic data so I ran the >> >>>> quickstart: >> >>>> >> >>>> bin/quick_start.py >> >>>> >> >>>> Then I log in again but still I can't see any data. Am I missing >> >>>> something >> >>>> ? >> >>>> >> >>>> The weird thing is that I don't have any exception for the web app, >> >>>>the >> >>>> only >> >>>> exception in the logs is on atlas_start: >> >>>> >> >>>> 2016-10-17 09:06:48,174 INFO - [main:] ~ Guice modules loaded >> >>>> (GuiceServletConfig:120) >> >>>> 2016-10-17 09:06:48,177 INFO - [main:] ~ Starting services >> >>>> (GuiceServletConfig:140) >> >>>> 2016-10-17 09:06:48,224 WARN - [main-SendThread(localhost:9026):] >>~ >> >>>> Session 0x0 for server null, unexpected error, closing socket >> >>>>connection >> >>>> and attempting reconnect (ClientCnxn$SendThread:1102) >> >>>> java.net.ConnectException: Connection refused >> >>>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) >> >>>> at >> >>>> sun.nio.ch.SocketChannelImpl.finishConnect( >> SocketChannelImpl.java:717) >> >>>> at >> >>>> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport( >> >>>> ClientCnxnSocketNIO.java:361) >> >>>> at org.apache.zookeeper.ClientCnxn$SendThread.run( >> >>>> ClientCnxn.java:1081) >> >>>> 2016-10-17 09:06:48,255 INFO - [main:] ~ HA is disabled. Hence >> >>>>creating >> >>>> table on startup. (HBaseBasedAuditRepository:287) >> >>>> 2016-10-17 09:06:48,256 INFO - [main:] ~ Checking if table >> >>>> apache_atlas_entity_audit exists (HBaseBasedAuditRepository:249) >> >>>> 2016-10-17 09:06:48,263 INFO - [main:] ~ Creating table >> >>>> apache_atlas_entity_audit (HBaseBasedAuditRepository:251) >> >>>> 2016-10-17 09:06:49,326 WARN - [main-SendThread(localhost:9026):] >>~ >> >>>> Session 0x0 for server null, unexpected error, closing socket >> >>>>connection >> >>>> and attempting reconnect (ClientCnxn$SendThread:1102) >> >>>> java.net.ConnectException: Connection refused >> >>>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) >> >>>> at >> >>>> sun.nio.ch.SocketChannelImpl.finishConnect( >> SocketChannelImpl.java:717) >> >>>> at >> >>>> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport( >> >>>> ClientCnxnSocketNIO.java:361) >> >>>> at org.apache.zookeeper.ClientCnxn$SendThread.run( >> >>>> ClientCnxn.java:1081) >> >>>> >> >>>> and also I found this exception when the quick_start script creates >> >>>>the >> >>>> first entity: >> >>>> >> >>>> 2016-10-17 09:21:40,566 WARN - [qtp161960012-16 - >> >>>> 888beb21-202d-4e96-9750-25d5ebe3bcac:] ~ The configuration >> >>>> auto.commit.enable =3D false was supplied but isn't a known config. >> >>>> (AbstractConfig:186) >> >>>> 2016-10-17 09:21:40,700 WARN - [kafka-producer-network-thread | >> >>>> producer-1:] ~ Error while fetching metadata with correlation id 0 >>: >> >>>> {ATLAS_ENTITIES=3DLEADER_NOT_AVAILABLE} >> >>>> (NetworkClient$DefaultMetadataUpdater:600) >> >>>> 2016-10-17 09:21:40,732 WARN - >> >>>> [org.apache.atlas.kafka.KafkaNotification:Controller- >> >>>> 1-to-broker-1-send-thread:] >> >>>> ~ >> >>>> [org.apache.atlas.kafka.KafkaNotification:Controller- >> >>>> 1-to-broker-1-send-thread], >> >>>> Controller 1 epoch 1 fails to send request >> >>>> {controller_id=3D1,controller_epoch=3D1,partition_states=3D[{ >> >>>> topic=3DATLAS_ENTITIES,partition=3D0,controller_epoch=3D >> >>>> 1,leader=3D1,leader_epoch=3D0,isr=3D[1],zk_version=3D0,replicas=3D[= 1]} >> >>>> ],live_leaders=3D[{id=3D1,host=3Dlocalhost,port=3D9027}]} >> >>>> to broker localhost:9027 (id: 1 rack: null). Reconnecting to >>broker. >> >>>> (Logging$class:89) >> >>>> java.io.IOException: Connection to 1 was disconnected before the >> >>>>response >> >>>> was read >> >>>> at >> >>>>=20 >>kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$ >> >>>>=20 >>extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:87) >> >>>> at >> >>>>=20 >>kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$ >> >>>>=20 >>extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:84) >> >>>> at scala.Option.foreach(Option.scala:236) >> >>>> at >> >>>>=20 >>kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$ >> >>>> extension$1.apply(NetworkClientBlockingOps.scala:84) >> >>>> at >> >>>>=20 >>kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$ >> >>>> extension$1.apply(NetworkClientBlockingOps.scala:80) >> >>>> at >> >>>> kafka.utils.NetworkClientBlockingOps$.recursivePoll$2( >> >>>> NetworkClientBlockingOps.scala:137) >> >>>> at >> >>>> kafka.utils.NetworkClientBlockingOps$.kafka$utils$ >> >>>> NetworkClientBlockingOps$$pollContinuously$extension( >> >>>> NetworkClientBlockingOps.scala:143) >> >>>> at >> >>>> >> >>>>kafka.utils.NetworkClientBlockingOps$.blockingSendAndReceive$ >> extension( >> >>>> NetworkClientBlockingOps.scala:80) >> >>>> at >> >>>> kafka.controller.RequestSendThread.liftedTree1$1( >> >>>> ControllerChannelManager. >> >>>> scala:189) >> >>>> at >> >>>> kafka.controller.RequestSendThread.doWork(ControllerChannelManager. >> >>>> scala:180) >> >>>> at kafka.utils.ShutdownableThread.run( >> ShutdownableThread.scala:63) >> >>>> 2016-10-17 09:21:40,809 WARN - [kafka-producer-network-thread | >> >>>> producer-1:] ~ Error while fetching metadata with correlation id 1 >>: >> >>>> {ATLAS_ENTITIES=3DLEADER_NOT_AVAILABLE} >> >>>> (NetworkClient$DefaultMetadataUpdater:600) >> >>>> 2016-10-17 09:21:40,915 WARN - [kafka-producer-network-thread | >> >>>> producer-1:] ~ Error while fetching metadata with correlation id 2 >>: >> >>>> {ATLAS_ENTITIES=3DLEADER_NOT_AVAILABLE} >> >>>> (NetworkClient$DefaultMetadataUpdater:600) >> >>>> 2016-10-17 09:21:41,018 WARN - [kafka-producer-network-thread | >> >>>> producer-1:] ~ Error while fetching metadata with correlation id 3 >>: >> >>>> {ATLAS_ENTITIES=3DLEADER_NOT_AVAILABLE} >> >>>> (NetworkClient$DefaultMetadataUpdater:600) >> >>>> >> >>>> Notice that the quickstart script reports success in the entities >> >>>> creation. >> >>>> >> >>>> Am I missing maybe some additional configuration that blocks the UI >> >>>>from >> >>>> showing >> >>>> data, should I do something additionally ? >> >>>> >> >>>> I am really blocked by this issue, it is nice that I can still use >>the >> >>>> REST >> >>>> API, >> >>>> however my goal is to be able to visualize the lineage too. >> >>>> >> >>>> Thanks in advance for your help, >> >>>> Isma=EBl >> >>>> >> >>>> >> >>> >> >> -- >> >> Jean-Baptiste Onofr=E9 >> >> jbonofre@apache.org >> >> http://blog.nanthrax.net >> >> Talend - http://www.talend.com >> >> >> >>