Skip to content

Commit

Permalink
Fix backport of AVOID_LOCAL_WRITES (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeaudreault authored Mar 18, 2024
1 parent 8e98301 commit bfa5f56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -758,10 +758,10 @@ private static final class DfsBuilderUtility {
Method noLocalWriteMethod = null;
if (builderClass != null) {
try {
replicateMethod = builderClass.getMethod("noLocalWrite");
noLocalWriteMethod = builderClass.getMethod("noLocalWrite");
LOG.debug("Using builder API via reflection for DFS file creation.");
} catch (NoSuchMethodException e) {
LOG.debug("Could not find noLocalWrite method on builder; will not set replicate when"
LOG.debug("Could not find noLocalWrite method on builder; will not set noLocalWrite when"
+ " creating output stream", e);
}
}
Expand Down

0 comments on commit bfa5f56

Please sign in to comment.