Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12063

Ozone: Ozone shell: Multiple RPC calls for put/get key

    XMLWordPrintableJSON

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.

      Attachments

        1. HDFS-12063-HDFS-7240.002.patch
          31 kB
          Yiqun Lin
        2. HDFS-12063-HDFS-7240.001.patch
          14 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: