Uploaded image for project: 'Phoenix Omid'
  1. Phoenix Omid
  2. OMID-263

Remove usage of TrustedPrefixesTagInspector as this will be dropped in Snakeyaml 2.2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.3
    • None

    Description

      We should find an alternate/remove usage of TrustedPrefixesTagInspector as this will be dropped in Snakeyaml 2.2.
      SeeĀ https://bitbucket.org/snakeyaml/snakeyaml/commits/39a4b874c70ddf8beb0b73c4092ea1c700cc66df for details.

      With SnakeYaml 2.2 omid code will fail to compile:

      [INFO] Compiling 8 source files to /Users/nihjain/code/visa/phoenix-omid/common/target/classes
      [INFO] /Users/nihjain/code/visa/phoenix-omid/common/src/main/java/org/apache/omid/YAMLUtils.java: /Users/nihjain/code/visa/phoenix-omid/common/src/main/java/org/apache/omid/YAMLUtils.java uses unchecked or unsafe operations.
      [INFO] /Users/nihjain/code/visa/phoenix-omid/common/src/main/java/org/apache/omid/YAMLUtils.java: Recompile with -Xlint:unchecked for details.
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /Users/nihjain/code/visa/phoenix-omid/common/src/main/java/org/apache/omid/YAMLUtils.java:[27,36] cannot find symbol
        symbol:   class TrustedPrefixesTagInspector
        location: package org.yaml.snakeyaml.inspector
      [ERROR] /Users/nihjain/code/visa/phoenix-omid/common/src/main/java/org/apache/omid/YAMLUtils.java:[82,41] cannot find symbol
        symbol:   class TrustedPrefixesTagInspector
        location: class org.apache.omid.YAMLUtils
      [INFO] 2 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Omid 1.1.1-SNAPSHOT:
      [INFO]
      [INFO] Omid ............................................... SUCCESS [  2.776 s]
      [INFO] Common ............................................. FAILURE [ 17.379 s]
      [INFO] State Machine ...................................... SKIPPED
      [INFO] Commit Table ....................................... SKIPPED
      [INFO] Metrics ............................................ SKIPPED
      [INFO] Transaction Client ................................. SKIPPED
      [INFO] HBase Common ....................................... SKIPPED
      [INFO] HBase Commit Table ................................. SKIPPED
      [INFO] Codahale Metrics ................................... SKIPPED
      [INFO] Benchmarks ......................................... SKIPPED
      [INFO] Timestamp Storage .................................. SKIPPED
      [INFO] HBase tools ........................................ SKIPPED
      [INFO] TSO and TO Servers ................................. SKIPPED
      [INFO] HBase Client ....................................... SKIPPED
      [INFO] HBase Coprocessors ................................. SKIPPED
      [INFO] Omid Client Examples ............................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  21.824 s
      [INFO] Finished at: 2023-10-19T21:19:33+05:30
      [INFO] ------------------------------------------------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              nikitapande Nikita Pande
              nihaljain.cs Nihal Jain
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: