hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6677) Archival Storage: Change INodeFile and FSImage to support storage policy
Date Fri, 19 Sep 2014 13:52:53 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140569#comment-14140569
] 

Hudson commented on HDFS-6677:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1876 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1876/])
HDFS-6677. Change INodeFile and FSImage to support storage policy ID. (szetszwo: rev 6f41baa6233dad92865af23ec6b7a89733c11ddd)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSPermissionChecker.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/proto/fsimage.proto
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFileAttributes.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/FSImageFormatPBSnapshot.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java


> Archival Storage: Change INodeFile and FSImage to support storage policy
> ------------------------------------------------------------------------
>
>                 Key: HDFS-6677
>                 URL: https://issues.apache.org/jira/browse/HDFS-6677
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>             Fix For: Archival Storage (HDFS-6584)
>
>         Attachments: h6677_20140714.patch
>
>
> Policy ID will be stored in INodeFile header with 4 bits which can support 16 different
storage policies.  The number of bits for replication will be reduced from 16 bits to 12 bits
which is still able to support up to 4095 replicas.  The number of bits for block size remains
48 bits.  The memory usage of INodeFile remains unchanged.
> The storage policy IDs assigned to Hot, Warm and Cold policies are respectively 12, 8
and 4.  These numbers are chosen with gaps so that future policies can be added in-between.
> We should make a corresponding change in FSImage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message