Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.8.0
-
None
-
None
Description
Running a query that uses the external sort produces the following message in the log file:
[org.apache.hadoop.conf.Configuration.deprecation] - fs.default.name is deprecated. Instead, use fs.defaultFS
External sort has the following line in the ExternalSortBatch constructor:
conf.set("fs.default.name", config.getString(ExecConstants.EXTERNAL_SORT_SPILL_FILESYSTEM));
The TestParquetScan class has the same deprecated parameter name.
Looking elsewhere in Drill, it appears that the proper way to configure HDFS is as follows:
fsConf.set(FileSystem.FS_DEFAULT_NAME_KEY, ...
That is, use the constant provided by HDFS.