Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-39

Ozone: Compile Ozone/HDFS/Cblock protobuf files with proto3 compiler using maven protoc plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2.1
    • 0.2.1
    • Native
    • None

    Description

      Currently all the Ozone/HDFS/Cblock proto files are compiled using proto 2.5, this can be changed to use proto3 compiler.

      This change will help in performance improvement as well because currently in the client path, the xceiver client ratis converts proto2 classes to proto3 using byte string manipulation.

      Please note that for rest of hadoop (except Ozone/Cblock/HDSL), the protoc version will still remain 2.5 as this proto compilation will be done through the following plugin.
      https://www.xolstice.org/protobuf-maven-plugin/

      Attachments

        1. HDFS-13389-HDFS-7240.001.patch
          72 kB
          Mukul Kumar Singh
        2. HDFS-13389-HDFS-7240.002.patch
          74 kB
          Mukul Kumar Singh
        3. HDDS-39.003.patch
          77 kB
          Mukul Kumar Singh
        4. HDDS-39.004.patch
          76 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: