Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-1151

New Yetus check for `.proto` files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Precommit
    • None

    Description

      Regarding some issues caused by the incompatibility of protobuf message, we have created a static checker which keeps track of the proto file change, and detects potential incompatibility:

      1. Add/delete required fields.
      2. The tag number of a field has been changed.
      3. A  required field has been changed to optional, or an optional field has been changed to required.

      We have tested the checker on HBASE and found many potential problems. We created HBASE-25340 (you can find more detailed information in this issue) and maintainers suggest that we could get the tool added as a new Yetus check so that it could be easily integrated into HBase and Hadoop CI testing.

      Repository of our static checker: https://github.com/YongkangLi/ProtoBufChecker.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Yongkang Li Yongkang Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: