Skip to content

Commit 3305d6d

Browse files
authored
[Improvement-13804] Optimal HDFS configuration acquisition (#13804) (#13811)
defaultFS key from FS_DEFAULT_FS to HDFS_DEFAULT_FS
1 parent 53bcf11 commit 3305d6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • dolphinscheduler-storage-plugin/dolphinscheduler-storage-hdfs/src/main/java/org/apache/dolphinscheduler/plugin/storage/hdfs

‎dolphinscheduler-storage-plugin/dolphinscheduler-storage-hdfs/src/main/java/org/apache/dolphinscheduler/plugin/storage/hdfs/HdfsStorageOperator.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ public Configuration getConfiguration() {
183183
* @return DefaultFS
184184
*/
185185
public String getDefaultFS() {
186-
String defaultFS = getConfiguration().get(Constants.FS_DEFAULT_FS);
186+
String defaultFS = hdfsProperties.getDefaultFS();
187187
if (StringUtils.isBlank(defaultFS)) {
188-
defaultFS = hdfsProperties.getDefaultFS();
188+
defaultFS = getConfiguration().get(Constants.HDFS_DEFAULT_FS);
189189
}
190190
return defaultFS;
191191
}

0 commit comments

Comments
 (0)