mymeiyi commented on a change in pull request #4003:
URL: https://github.com/apache/hbase/pull/4003#discussion_r779324372



##########
File path: 
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java
##########
@@ -344,6 +345,9 @@ public Job createSubmittableJob(String[] args) throws 
IOException {
     try {
       TableMapReduceUtil.addDependencyJarsForClasses(job.getConfiguration(),
         Class.forName(codecCls));
+      // get delegation token for the filesystem
+      TokenCache.obtainTokensForNamenodes(job.getCredentials(), new Path[] { 
new Path(inputDirs) },

Review comment:
       I think JobSubmitter get a token from hdfs for yarn cluster, here we 
also need a token from hdfs for hbase cluster




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to