You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2017/02/21 19:57:44 UTC

[jira] [Updated] (DRILL-5062) External sort refers to the deprecated HDFS fs.default.name param

     [ https://issues.apache.org/jira/browse/DRILL-5062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Rogers updated DRILL-5062:
-------------------------------
    Issue Type: Bug  (was: Sub-task)
        Parent:     (was: DRILL-5080)

> External sort refers to the deprecated HDFS fs.default.name param
> -----------------------------------------------------------------
>
>                 Key: DRILL-5062
>                 URL: https://issues.apache.org/jira/browse/DRILL-5062
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Minor
>
> Running a query that uses the external sort produces the following message in the log file:
> {code}
> [org.apache.hadoop.conf.Configuration.deprecation] - fs.default.name is deprecated. Instead, use fs.defaultFS
> {code}
> External sort has the following line in the {{ExternalSortBatch}} constructor:
> {code}
>     conf.set("fs.default.name", config.getString(ExecConstants.EXTERNAL_SORT_SPILL_FILESYSTEM));
> {code}
> 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:
> {code}
>     fsConf.set(FileSystem.FS_DEFAULT_NAME_KEY, ...
> {code}
> That is, use the constant provided by HDFS.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)