liangyu-1 commented on PR #6935: URL: https://github.com/apache/hadoop/pull/6935#issuecomment-2232224843
> Sorry for late response. And I didn't know why & what this PR want to do. When I said 'What about to invoke the following interface and set flag to CreateFlag.IGNORE_CLIENT_LOCALITY.', I means that the current implement also support to skip localization when write data to HDFS. Please check again. Thanks. @Hexiaoqiao Thanks for your reply, I think I have understood your suggestion. You mean that I can implement that interface and add the Flag in that function. But in my scenario, I am using flink's fileSystem API, and I have read the source code of the flink API that it used `FileSystem.create(Path f) `, which means that if I want to use the interface in hadoop, I have to change the source code of flink filesystem API and rebuild the whole flink project. I think this will also happens if someone's using Spark API or something else. But in my pr, I can solve the problem by just adding the hadoop configuration, this is more convenient. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
