Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
With current implementation multiple RPC calls are made for each put/get key ozone shell call
org.apache.hadoop.ozone.web.ozShell.keys.PutKeyHandler#execute
OzoneVolume vol = client.getVolume(volumeName); OzoneBucket bucket = vol.getBucket(bucketName); bucket.putKey(keyName, dataFile);
org.apache.hadoop.ozone.web.ozShell.keys.GetKeyHandler#execute
OzoneVolume vol = client.getVolume(volumeName); OzoneBucket bucket = vol.getBucket(bucketName); bucket.getKey(keyName, dataFilePath);
This can be optimized.