[ https://issues.apache.org/jira/browse/OMID-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886128#comment-17886128 ]
Istvan Toth commented on OMID-263: ---------------------------------- Committed. Thank you [~nikitapande] for the fix, and [~richardantal] for the review. > Remove usage of TrustedPrefixesTagInspector as this will be dropped in > Snakeyaml 2.2 > ------------------------------------------------------------------------------------ > > Key: OMID-263 > URL: https://issues.apache.org/jira/browse/OMID-263 > Project: Phoenix Omid > Issue Type: Improvement > Reporter: Nihal Jain > Priority: Major > > 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: > {code:java} > [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] > ------------------------------------------------------------------------ > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)