You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2017/12/08 21:41:00 UTC

[jira] [Resolved] (HDFS-10262) Change HdfsFileStatus::fileId to an opaque identifier

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

Chris Douglas resolved HDFS-10262.
----------------------------------
    Resolution: Duplicate

Fixed in HDFS-7878

> Change HdfsFileStatus::fileId to an opaque identifier
> -----------------------------------------------------
>
>                 Key: HDFS-10262
>                 URL: https://issues.apache.org/jira/browse/HDFS-10262
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client, webhdfs
>            Reporter: Chris Douglas
>
> HDFS exposes the INode ID as a long via HdfsFileStatus::getFileId. Since equality is the only valid client operation (sequential/monotonically increasing ids are not guaranteed in any spec; leases do not rely on any other property), this identifier can be opaque instead of assigning it a primitive type in HdfsFileStatus.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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