Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AB671194C for ; Fri, 25 Apr 2014 02:34:22 +0000 (UTC) Received: (qmail 54477 invoked by uid 500); 25 Apr 2014 02:34:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 54328 invoked by uid 500); 25 Apr 2014 02:34:20 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 54255 invoked by uid 99); 25 Apr 2014 02:34:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 02:34:19 +0000 Date: Fri, 25 Apr 2014 02:34:19 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11049) HBase WALPlayer needs to add credentials to job to play to table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980632#comment-13980632 ] Hudson commented on HBASE-11049: -------------------------------- FAILURE: Integrated in HBase-TRUNK #5114 (See [https://builds.apache.org/job/HBase-TRUNK/5114/]) HBASE-11049 HBase WALPlayer needs to add credentials to job to play to table (Jerry He) (apurtell: rev 1589886) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java > HBase WALPlayer needs to add credentials to job to play to table > ---------------------------------------------------------------- > > Key: HBASE-11049 > URL: https://issues.apache.org/jira/browse/HBASE-11049 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 0.96.2, 0.98.1 > Reporter: Jerry He > Assignee: Jerry He > Priority: Minor > Fix For: 0.99.0, 0.98.2, 0.96.3 > > Attachments: HBASE-11049-trunk.patch > > > In a secure cluster, WALPlayer needs to add credentials to job. > Currently when replaying onto live table, we get this security exception: > {code} > javax.security.sasl.SaslException: Failure to initialize security context [Caused by org.ietf.jgss.GSSException, major code: 13, minor code: 0 > major string: Invalid credentials > minor string: Cannot get credential from JAAS Subject for principal: default principal ] > at com.ibm.security.sasl.gsskerb.GssKrb5Client.(GssKrb5Client.java:131) > at com.ibm.security.sasl.gsskerb.FactoryImpl.createSaslClient(FactoryImpl.java:53) > at javax.security.sasl.Sasl.createSaslClient(Sasl.java:362) > at org.apache.hadoop.hbase.security.HBaseSaslRpcClient.(HBaseSaslRpcClient.java:96) > ... > at org.apache.hadoop.hbase.ipc.RpcClient$Connection$2.run(RpcClient.java:878) > at java.security.AccessController.doPrivileged(AccessController.java:366) > at javax.security.auth.Subject.doAs(Subject.java:572) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1502) > at org.apache.hadoop.hbase.ipc.RpcClient$Connection.setupIOstreams(RpcClient.java:878) > at org.apache.hadoop.hbase.ipc.RpcClient.getConnection(RpcClient.java:1532) > at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1421) > ... > at org.apache.hadoop.hbase.client.HTable$2.call(HTable.java:700) > at org.apache.hadoop.hbase.client.HTable$2.call(HTable.java:698) > at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:116) > at org.apache.hadoop.hbase.client.HTable.getRowOrBefore(HTable.java:704) > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:144) > ... > at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:325) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:191) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:164) > at org.apache.hadoop.hbase.mapreduce.MultiTableOutputFormat$MultiTableRecordWriter.getTable(MultiTableOutputFormat.java:105) > at org.apache.hadoop.hbase.mapreduce.MultiTableOutputFormat$MultiTableRecordWriter.write(MultiTableOutputFormat.java:131) > ... > at org.apache.hadoop.hbase.mapreduce.WALPlayer$HLogMapper.map(WALPlayer.java:138) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)