From dev-return-22895-archive-asf-public=cust-asf.ponee.io@atlas.apache.org Fri Apr 27 16:05:09 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D68F6180608 for ; Fri, 27 Apr 2018 16:05:08 +0200 (CEST) Received: (qmail 95128 invoked by uid 500); 27 Apr 2018 14:05:03 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 95113 invoked by uid 99); 27 Apr 2018 14:05:03 -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; Fri, 27 Apr 2018 14:05:02 +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 8842ACAA17 for ; Fri, 27 Apr 2018 14:05:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id V-p4WozJG_kC for ; Fri, 27 Apr 2018 14:05:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 62BCC5FB54 for ; Fri, 27 Apr 2018 14:05:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BEE52E127C for ; Fri, 27 Apr 2018 14:05:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 30BC42425C for ; Fri, 27 Apr 2018 14:05:00 +0000 (UTC) Date: Fri, 27 Apr 2018 14:05:00 +0000 (UTC) From: =?utf-8?Q?P=C3=A9ter_Gerg=C5=91_Barna_=28JIRA=29?= To: dev@atlas.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ATLAS-2611) NPE in Hive hook MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-2611?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] P=C3=A9ter Gerg=C5=91 Barna updated ATLAS-2611: ------------------------------------- Fix Version/s: (was: 1.0.0) 0.8.3 > NPE in Hive hook > ---------------- > > Key: ATLAS-2611 > URL: https://issues.apache.org/jira/browse/ATLAS-2611 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 0.8.2 > Reporter: P=C3=A9ter Gerg=C5=91 Barna > Assignee: P=C3=A9ter Gerg=C5=91 Barna > Priority: Major > Fix For: 0.8.3 > > Attachments: ATLAS-2611.patch > > > NPE thrown from this line > {code:java} > for (BaseColumnInfo baseColumn : entry.getValue().getBaseCols()) {{code} > Entry comes from=C2=A0 > =C2=A0 > {code:java} > for (Map.Entry entry : lineageInfo.entrySet())= { > {code} > Hive log > =C2=A0 > {noformat} > 2018-04-25T16:23:46,792 ERROR [HiveServer2-Background-Pool: Thread-1474] = hook.HiveHook: HiveHook.run(): failed to process operation CREATEVIEW java.= lang.NullPointerException: null at org.apache.atlas.hive.hook.events.Create= HiveProcess.processColumnLineage(CreateHiveProcess.java:140) ~[hive-bridge-= 0.8.0.2.6.5.0-270.jar:0.8.0.2.6.5.0-270] at org.apache.atlas.hive.hook.even= ts.CreateHiveProcess.getEntities(CreateHiveProcess.java:110) ~[hive-bridge-= 0.8.0.2.6.5.0-270.jar:0.8.0.2.6.5.0-270] at org.apache.atlas.hive.hook.even= ts.CreateHiveProcess.getNotificationMessages(CreateHiveProcess.java:56) ~[h= ive-bridge-0.8.0.2.6.5.0-270.jar:0.8.0.2.6.5.0-270] at org.apache.atlas.hiv= e.hook.HiveHook.run(HiveHook.java:157) [hive-bridge-0.8.0.2.6.5.0-270.jar:0= .8.0.2.6.5.0-270] at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:= 52) [hive-bridge-shim-0.8.0.2.6.5.0-270.jar:0.8.0.2.6.5.0-270] at org.apach= e.hadoop.hive.ql.Driver.execute(Driver.java:1775) [hive-exec-2.1.0.2.6.5.0-= 270.jar:2.1.0.2.6.5.0-270] at org.apache.hadoop.hive.ql.Driver.runInternal(= Driver.java:1414) [hive-exec-2.1.0.2.6.5.0-270.jar:2.1.0.2.6.5.0-270] at or= g.apache.hadoop.hive.ql.Driver.run(Driver.java:1211) [hive-exec-2.1.0.2.6.5= .0-270.jar:2.1.0.2.6.5.0-270] at org.apache.hadoop.hive.ql.Driver.run(Drive= r.java:1204) [hive-exec-2.1.0.2.6.5.0-270.jar:2.1.0.2.6.5.0-270] at org.apa= che.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:242)= [hive-service-2.1.0.2.6.5.0-270.jar:2.1.0.2.6.5.0-270] at org.apache.hive.= service.cli.operation.SQLOperation.access$800(SQLOperation.java:91) [hive-s= ervice-2.1.0.2.6.5.0-270.jar:2.1.0.2.6.5.0-270] at org.apache.hive.service.= cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:336) [hiv= e-service-2.1.0.2.6.5.0-270.jar:2.1.0.2.6.5.0-270] at java.security.AccessC= ontroller.doPrivileged(Native Method) [?:1.8.0_161] at javax.security.auth.= Subject.doAs(Subject.java:422) [?:1.8.0_161] at org.apache.hadoop.security.= UserGroupInformation.doAs(UserGroupInformation.java:1869) [hadoop-common-2.= 7.3.2.6.5.0-270.jar:?] at org.apache.hive.service.cli.operation.SQLOperatio= n$BackgroundWork.run(SQLOperation.java:350) [hive-service-2.1.0.2.6.5.0-270= .jar:2.1.0.2.6.5.0-270] at java.util.concurrent.Executors$RunnableAdapter.c= all(Executors.java:511) [?:1.8.0_161] at java.util.concurrent.FutureTask.ru= n(FutureTask.java:266) [?:1.8.0_161] at java.util.concurrent.Executors$Runn= ableAdapter.call(Executors.java:511) [?:1.8.0_161] at java.util.concurrent.= FutureTask.run(FutureTask.java:266)=C2=A0[?:1.8.0_161] > =C2=A0 > {noformat} > =C2=A0 > It may be important to note that Atlas was=C2=A0running with Hive2 when t= his NPE occured. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)