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

RollingLevelDBTimelineStore backwards incompatible after fst upgrade

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      There is a small minor backwards compatible change introduced while upgrading fst library from 2.24 to 2.50.

      Exception in thread "main" java.io.IOException: java.lang.RuntimeException: unable to find class for code 83
      	at org.nustaq.serialization.FSTObjectInput.readObject(FSTObjectInput.java:243)
      	at org.nustaq.serialization.FSTConfiguration.asObject(FSTConfiguration.java:1125)
      	at org.nustaq.serialization.FSTNoJackson.main(FSTNoJackson.java:31)
      Caused by: java.lang.RuntimeException: unable to find class for code 83
      	at org.nustaq.serialization.FSTClazzNameRegistry.decodeClass(FSTClazzNameRegistry.java:180)
      	at org.nustaq.serialization.coders.FSTStreamDecoder.readClass(FSTStreamDecoder.java:472)
      	at org.nustaq.serialization.FSTObjectInput.readClass(FSTObjectInput.java:933)
      	at org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(FSTObjectInput.java:343)
      	at org.nustaq.serialization.FSTObjectInput.readObjectInternal(FSTObjectInput.java:327)
      	at org.nustaq.serialization.serializers.FSTArrayListSerializer.instantiate(FSTArrayListSerializer.java:63)
      	at org.nustaq.serialization.FSTObjectInput.instantiateAndReadWithSer(FSTObjectInput.java:497)
      	at org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(FSTObjectInput.java:366)
      	at org.nustaq.serialization.FSTObjectInput.readObjectInternal(FSTObjectInput.java:327)
      	at org.nustaq.serialization.serializers.FSTMapSerializer.instantiate(FSTMapSerializer.java:78)
      	at org.nustaq.serialization.FSTObjectInput.instantiateAndReadWithSer(FSTObjectInput.java:497)
      	at org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(FSTObjectInput.java:366)
      	at org.nustaq.serialization.FSTObjectInput.readObjectInternal(FSTObjectInput.java:327)
      	at org.nustaq.serialization.FSTObjectInput.readObject(FSTObjectInput.java:307)
      	at org.nustaq.serialization.FSTObjectInput.readObject(FSTObjectInput.java:241)
      

        Attachments

        1. YARN-6654.1.patch
          2 kB
          Jonathan Eagles
        2. YARN-6654.2.patch
          4 kB
          Jonathan Eagles
        3. YARN-6654.3.patch
          5 kB
          Jonathan Eagles

          Activity

            People

            • Assignee:
              jeagles Jonathan Eagles
              Reporter:
              jeagles Jonathan Eagles
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: