We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cda0acf commit c429283Copy full SHA for c429283
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java
@@ -205,7 +205,7 @@ public static String readLink(File f) {
205
}
206
207
try {
208
- LOG.warn("readSymbolicLink------------------");
+ // use java's readSymbolicLink instead of shell
209
return Files.readSymbolicLink(f.toPath()).toFile().toString();
210
// return Shell.execCommand(
211
// Shell.getReadlinkCommand(f.toString())).trim();
0 commit comments