junegunn commented on code in PR #7175:
URL: https://github.com/apache/hbase/pull/7175#discussion_r2255880303


##########
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java:
##########
@@ -770,6 +770,8 @@ public static void configureRemoteCluster(Job job, 
Configuration clusterConf) {
     conf.setInt(REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY, clientPort);
     conf.set(REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY, parent);
 
+    TableMapReduceUtil.initCredentialsForCluster(job, clusterConf);

Review Comment:
   Could you check if this is idempotent? In other words, is it harmless to 
call this multiple times? Some users are manually calling this method in their 
jobs.



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