From issues-return-3460-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed Dec 19 23:16:04 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 277AD180670 for ; Wed, 19 Dec 2018 23:16:03 +0100 (CET) Received: (qmail 41827 invoked by uid 500); 19 Dec 2018 22:16:03 -0000 Mailing-List: contact issues-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list issues@phoenix.apache.org Received: (qmail 41816 invoked by uid 99); 19 Dec 2018 22:16:03 -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, 19 Dec 2018 22:16:03 +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 F1FEAC05F4 for ; Wed, 19 Dec 2018 22:16:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, 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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id KaGedqZpjMjl for ; Wed, 19 Dec 2018 22:16: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 38C905FB39 for ; Wed, 19 Dec 2018 22:16: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 93CF9E111B for ; Wed, 19 Dec 2018 22:16: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 4FE6123FE1 for ; Wed, 19 Dec 2018 22:16:00 +0000 (UTC) Date: Wed, 19 Dec 2018 22:16:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-5070) NPE when upgrading Phoenix 4.13.0 to Phoenix 4.14.1 with hbase-1.x branch in secure setup 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/PHOENIX-5070?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 725385#comment-16725385 ]=20 Hudson commented on PHOENIX-5070: --------------------------------- FAILURE: Integrated in Jenkins build Phoenix-4.x-HBase-1.4 #32 (See [https:= //builds.apache.org/job/Phoenix-4.x-HBase-1.4/32/]) PHOENIX-5070 NPE when upgrading Phoenix 4.13.0 to Phoenix 4.14.1 with (vinc= entpoon: rev 494ed076994e08128da5d19e4a34039209d9f192) * (edit) phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixA= ccessController.java > NPE when upgrading Phoenix 4.13.0 to Phoenix 4.14.1 with hbase-1.x branch= in secure setup > -------------------------------------------------------------------------= ---------------- > > Key: PHOENIX-5070 > URL: https://issues.apache.org/jira/browse/PHOENIX-5070 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.14.0, 4.14.1 > Reporter: Monani Mihir > Assignee: Monani Mihir > Priority: Blocker > Fix For: 4.15.0 > > Attachments: PHOENIX-5070-4.x-HBase-1.3.01.patch, PHOENIX-5070-4.= x-HBase-1.3.02.patch, PHOENIX-5070-4.x-HBase-1.3.03.patch, PHOENIX-5070.pat= ch > > > PhoenixAccessController populates=C2=A0accessControllers during calls lik= e loadTable before it checks if current user has all required permission fo= r given Hbase table and schema.=C2=A0 > With [Phoenix-4661|https://issues.apache.org/jira/browse/PHOENIX-4661] , = We somehow removed this for only preGetTable func call. Because of this whe= n we upgrade Phoenix from 4.13.0 to 4.14.1 , we get NPE for accessControlle= rs in=C2=A0PhoenixAccessController#getUserPermissions.=C2=A0 > Here is exception stack trace :-=C2=A0 > =C2=A0 > {code:java} > Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apac= he.hadoop.hbase.DoNotRetryIOException): org.apache.hadoop.hbase.DoNotRetryI= OException: java.lang.NullPointerException > at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:1= 09) > at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataE= ndpointImpl.java:598) > at org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataServic= e.callMethod(MetaDataProtos.java:16357) > at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:= 8354) > at org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion= (RSRpcServices.java:2208) > at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcSe= rvices.java:2190) > at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$= 2.callBlockingMethod(ClientProtos.java:35076) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2399) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124) > at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:1= 88) > at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:1= 68) > Caused by: java.lang.NullPointerException > at org.apache.phoenix.coprocessor.PhoenixAccessController$3.run(PhoenixAc= cessController.java:409) > at org.apache.phoenix.coprocessor.PhoenixAccessController$3.run(PhoenixAc= cessController.java:403) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformat= ion.java:1760) > at org.apache.hadoop.security.SecurityUtil.doAsUser(SecurityUtil.java:453= ) > at org.apache.hadoop.security.SecurityUtil.doAsLoginUser(SecurityUtil.jav= a:434) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess= orImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.hbase.util.Methods.call(Methods.java:39) > at org.apache.hadoop.hbase.security.User.runAsLoginUser(User.java:210) > at org.apache.phoenix.coprocessor.PhoenixAccessController.getUserPermissi= ons(PhoenixAccessController.java:403) > at org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(P= hoenixAccessController.java:482) > at org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(Pho= enixAccessController.java:104) > at org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(P= hoenixMetaDataCoprocessorHost.java:161) > at org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOper= ation(PhoenixMetaDataCoprocessorHost.java:81) > at org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTa= ble(PhoenixMetaDataCoprocessorHost.java:157) > at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataE= ndpointImpl.java:563) > ... 9 more > at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1291= ) > at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(Abstr= actRpcClient.java:231) > at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplem= entation.callBlockingMethod(AbstractRpcClient.java:340) > at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$= BlockingStub.execService(ClientProtos.java:35542) > at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil= .java:1734) > ... 13 more > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)