hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry He (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11049) HBase WALPlayer needs to add credentials to job to play to table
Date Tue, 22 Apr 2014 19:42:16 GMT
Jerry He created HBASE-11049:
--------------------------------

             Summary: 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.98.1, 0.96.2
            Reporter: Jerry He
            Assignee: Jerry He
            Priority: Minor


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)

Mime
View raw message