hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14726) Remove FileStatus#isDir
Date Thu, 03 Aug 2017 18:34:01 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113253#comment-16113253

Andrew Wang commented on HADOOP-14726:

I did a grep and there's a lot of hits for "isDir(" in downstream projects: Avro, Crunch,
HBase, Hive, Hue, Kite, Oozie, Parquet, Pig, Sqoop, Zookeeper. I think it's too late to remove
at this point in the release cycle; if we're serious about doing this for Hadoop 4, then let's
file JIRAs for these downstreams to switch over.

The idea of v000 seems okay to me too. It is still incompatible though, since marking isDir
{{final}} breaks out-of-tree FileSystems that override it. Is this necessary?

> Remove FileStatus#isDir
> -----------------------
>                 Key: HADOOP-14726
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14726
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: fs
>            Reporter: Chris Douglas
>            Priority: Minor
>         Attachments: HADOOP-14726.000.patch
> FileStatus#isDir was deprecated in 0.21 (HADOOP-6585).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message