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 "Chen Liang (JIRA)" <ji...@apache.org> on 2017/06/19 21:16:00 UTC

[jira] [Created] (HDFS-11997) ChunkManager functions do not use the argument keyName

Chen Liang created HDFS-11997:
---------------------------------

             Summary: ChunkManager functions do not use the argument keyName
                 Key: HDFS-11997
                 URL: https://issues.apache.org/jira/browse/HDFS-11997
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Chen Liang
            Assignee: Chen Liang


{{ChunkManagerImpl}}'s functions i.e. {{writeChunk}} {{readChunk}} {{deleteChunk}} all take a {{keyName}} argument, which is not being used by any of them.

I think this makes sense because conceptually {{ChunkManager}} should not have to know keyName to do anything, probably except for some sort of sanity check or logging, which is not there either. We should revisit whether we need it here. I think we should remove it to make the Chunk syntax, and the function signatures more cleanly abstracted.

Any comments? [~anu]



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

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