JackWangCS commented on a change in pull request #14841:
URL: https://github.com/apache/flink/pull/14841#discussion_r633699874



##########
File path: flink-yarn/src/main/java/org/apache/flink/yarn/Utils.java
##########
@@ -197,13 +196,19 @@ private static LocalResource registerLocalResource(
     }
 
     public static void setTokensFor(
-            ContainerLaunchContext amContainer, List<Path> paths, 
Configuration conf)
+            org.apache.flink.configuration.Configuration flinkConf,
+            ContainerLaunchContext amContainer,
+            Configuration hadoopConf)
             throws IOException {
         Credentials credentials = new Credentials();
-        // for HDFS
-        TokenCache.obtainTokensForNamenodes(credentials, paths.toArray(new 
Path[0]), conf);
-        // for HBase
-        obtainTokenForHBase(credentials, conf);
+
+        // obtain tokens from HadoopDelegationTokenProviders

Review comment:
       Merged with FLINK-21700




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

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


Reply via email to