[ 
https://issues.apache.org/jira/browse/HBASE-11049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980635#comment-13980635
 ] 

Hudson commented on HBASE-11049:
--------------------------------

FAILURE: Integrated in HBase-0.98 #294 (See 
[https://builds.apache.org/job/HBase-0.98/294/])
HBASE-11049 HBase WALPlayer needs to add credentials to job to play to table 
(Jerry He) (apurtell: rev 1589887)
* 
/hbase/branches/0.98/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.<init>(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.<init>(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.<init>(HTable.java:191)
>         at org.apache.hadoop.hbase.client.HTable.<init>(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)

Reply via email to