[ https://issues.apache.org/jira/browse/HBASE-20047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396140#comment-16396140 ]
Hudson commented on HBASE-20047: -------------------------------- Results for branch branch-2 [build #478 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/478/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/478//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/478//JDK8_Nightly_Build_Report_(Hadoop2)/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/478//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. > AuthenticationTokenIdentifier should provide a toString > ------------------------------------------------------- > > Key: HBASE-20047 > URL: https://issues.apache.org/jira/browse/HBASE-20047 > Project: HBase > Issue Type: Improvement > Components: Usability > Reporter: Sean Busbey > Assignee: maoling > Priority: Minor > Labels: beginner > Fix For: 3.0.0, 2.1.0 > > Attachments: HBASE-20047.master.v0.patch, HBASE-20047.master.v1.patch > > > It'd be easier to debug things like MapReduce and Spark jobs if our > AuthenticationTokenIdentifier provided a toString method. > For comparison, here's an example of a MapReduce job that has both an HDFS > delegation token and our delegation token: > {code:java} > 18/02/21 20:40:06 INFO mapreduce.JobSubmitter: Kind: HBASE_AUTH_TOKEN, > Service: 92a63bd8-9e00-4c04-ab61-da8e606068e1, Ident: > (org.apache.hadoop.hbase.security.token.AuthenticationTokenIdentifier@17) > 18/02/21 20:40:06 INFO mapreduce.JobSubmitter: Kind: HDFS_DELEGATION_TOKEN, > Service: 172.31.118.118:8020, Ident: (token for some_user: > HDFS_DELEGATION_TOKEN owner=some_u...@example.com, renewer=yarn, realUser=, > issueDate=1519274405003, maxDate=1519879205003, sequenceNumber=23, > masterKeyId=9) > {code} > Stuff in TokenIdentifier is supposed to be public, so we should be fine to > dump everything, similar to Hadoop's AbstractDelegationTokenIdentifier. > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)