hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9144) Refactor libhdfs into stateful/ephemeral objects
Date Wed, 02 Dec 2015 20:26:10 GMT

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

James Clampffer updated HDFS-9144:
----------------------------------
    Attachment: HDFS-9144.HDFS-8707.006.patch

I took a stab at rebasing this to the head to get it set for committing.

2 Changes not due to rebasing:
-Add apache header to one of the CMakeLists, had to patch it manually so figured why not.
-Had to add virtual destructors to DataNodeConnection and DataNodeConnectionImpl to get HDFS-9559
to link.

> Refactor libhdfs into stateful/ephemeral objects
> ------------------------------------------------
>
>                 Key: HDFS-9144
>                 URL: https://issues.apache.org/jira/browse/HDFS-9144
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>    Affects Versions: HDFS-8707
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>         Attachments: HDFS-9144.HDFS-8707.001.patch, HDFS-9144.HDFS-8707.002.patch, HDFS-9144.HDFS-8707.003.patch,
HDFS-9144.HDFS-8707.004.patch, HDFS-9144.HDFS-8707.005.patch, HDFS-9144.HDFS-8707.006.patch
>
>
> In discussion for other efforts, we decided that we should separate several concerns:
> * A posix-like FileSystem/FileHandle object (stream-based, positional reads)
> * An ephemeral ReadOperation object that holds the state for reads-in-progress, which
consumes
> * An immutable FileInfo object which holds the block map and file size (and other metadata
about the file that we assume will not change over the life of the file)



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

Mime
View raw message