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



##########
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:
       @mymeiyi 
   We do get credentials from namenode 
[here](https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java#L170)
 
   I don't know much about WALPlayer internals. Does this MR job access 2 
different namenodes ? 




-- 
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