You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2016/04/05 23:19:25 UTC

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

Chris Douglas created HDFS-10262:
------------------------------------

             Summary: 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.3.4#6332)