Skip to content

Commit c429283

Browse files
committed
update
1 parent cda0acf commit c429283

File tree

1 file changed

+1
-1
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs

1 file changed

+1
-1
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public static String readLink(File f) {
205205
}
206206

207207
try {
208-
LOG.warn("readSymbolicLink------------------");
208+
// use java's readSymbolicLink instead of shell
209209
return Files.readSymbolicLink(f.toPath()).toFile().toString();
210210
// return Shell.execCommand(
211211
// Shell.getReadlinkCommand(f.toString())).trim();

0 commit comments

Comments
 (0)