hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12063) Ozone: Ozone shell: Multiple RPC calls for put/get key
Date Sat, 01 Jul 2017 06:03:01 GMT

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

Anu Engineer commented on HDFS-12063:
-------------------------------------

[~linyiqun] Thanks for fixing this issue. [~vagarychen] Thanks for committing this. [~nandakumar131]
Thanks for filing this issue. 

Since this is a performance improvement, I am curious how much this change improves the performance
by .. Say for 4KB files, 8KB and say 1MB files. I am just curious to see the improvement,
Would any of you have this number which you can share ? 


> Ozone: Ozone shell: Multiple RPC calls for put/get key
> ------------------------------------------------------
>
>                 Key: HDFS-12063
>                 URL: https://issues.apache.org/jira/browse/HDFS-12063
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Nandakumar
>            Assignee: Yiqun Lin
>         Attachments: HDFS-12063-HDFS-7240.001.patch, HDFS-12063-HDFS-7240.002.patch
>
>
> With current implementation multiple RPC calls are made for each put/get key ozone shell
call
> {code:title=org.apache.hadoop.ozone.web.ozShell.keys.PutKeyHandler#execute}
>     OzoneVolume vol = client.getVolume(volumeName);
>     OzoneBucket bucket = vol.getBucket(bucketName);
>     bucket.putKey(keyName, dataFile);
> {code}
> {code:title=org.apache.hadoop.ozone.web.ozShell.keys.GetKeyHandler#execute}
>     OzoneVolume vol = client.getVolume(volumeName);
>     OzoneBucket bucket = vol.getBucket(bucketName);
>     bucket.getKey(keyName, dataFilePath);
> {code}
> This can be optimized.



--
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


Mime
View raw message