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 0065E200B74 for ; Thu, 1 Sep 2016 22:05:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2819160AB5; Thu, 1 Sep 2016 20:05:24 +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 456F3160AA8 for ; Thu, 1 Sep 2016 22:05:24 +0200 (CEST) Received: (qmail 37254 invoked by uid 500); 1 Sep 2016 20:05:23 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 37243 invoked by uid 99); 1 Sep 2016 20:05:23 -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; Thu, 01 Sep 2016 20:05:23 +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 E7826C000A for ; Thu, 1 Sep 2016 20:05:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 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=-1.426] 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 rBSObsM7k26b for ; Thu, 1 Sep 2016 20:05:22 +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 A12705F252 for ; Thu, 1 Sep 2016 20:05:21 +0000 (UTC) Received: (qmail 36822 invoked by uid 99); 1 Sep 2016 20:05:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 20:05:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 01F912C014C for ; Thu, 1 Sep 2016 20:05:21 +0000 (UTC) Date: Thu, 1 Sep 2016 20:05:21 +0000 (UTC) From: "Thomas Weise (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXCORE-515) Refresh tokens failing in some scenarios with a login failure message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Sep 2016 20:05:25 -0000 [ https://issues.apache.org/jira/browse/APEXCORE-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456467#comment-15456467 ] Thomas Weise commented on APEXCORE-515: --------------------------------------- I don't see the change in master, instead I see a branch "APEXCORE-515" ? > Refresh tokens failing in some scenarios with a login failure message > --------------------------------------------------------------------- > > Key: APEXCORE-515 > URL: https://issues.apache.org/jira/browse/APEXCORE-515 > Project: Apache Apex Core > Issue Type: Bug > Reporter: Pramod Immaneni > Assignee: Pramod Immaneni > Fix For: 3.5.0 > > > In some scenarios the token refresh to allow applications to run without shutting down is failing with the following exception > java.io.IOException: Login failure for xxxxx from keytab > at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytabAndReturnUGI(UserGroupInformation.java:1146) > at com.datatorrent.stram.security.StramUserLogin.refreshTokens(StramUserLogin.java:96) > at com.datatorrent.stram.engine.StreamingContainer.heartbeatLoop(StreamingContainer.java:623) > at com.datatorrent.stram.engine.StreamingContainer.main(StreamingContainer.java:313) > Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user > > at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:897) > at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:760) > at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:617) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755) > at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) > at javax.security.auth.login.LoginContext.login(LoginContext.java:587) > at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytabAndReturnUGI(UserGroupInformation.java:1135) > ... 3 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)