Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2103

Inconsistency between viaProto flag and initial value of SerializedExceptionProto.Builder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None
    • Reviewed

    Description

      Bug 1:

        SerializedExceptionProto proto = SerializedExceptionProto
            .getDefaultInstance();
        SerializedExceptionProto.Builder builder = null;
        boolean viaProto = false;
      

      Since viaProto is false, we should initiate build rather than proto

      Bug 2:
      the class does not provide hashcode() and equals() like other PBImpl records, this class is used in other records, it may affect other records' behavior.

      Attachments

        1. YARN-2103.v1.patch
          2 kB
          Binglin Chang
        2. YARN-2103.v2.patch
          4 kB
          Binglin Chang
        3. YARN-2103.v3.patch
          5 kB
          Binglin Chang

        Issue Links

          Activity

            People

              decster Binglin Chang
              decster Binglin Chang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: