[
https://issues.apache.org/jira/browse/HIVE-27999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stamatis Zampetakis resolved HIVE-27999.
----------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Fixed in
https://github.com/apache/hive/commit/1760304401ff65d2f1fd7276d8a2bc241babb18a.
Thanks for the PR [~wechar] and [~aturoczy] for the review!
> Run Sonar analysis using Java 17
> --------------------------------
>
> Key: HIVE-27999
> URL: https://issues.apache.org/jira/browse/HIVE-27999
> Project: Hive
> Issue Type: Bug
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4905/4/pipeline/596/
> CI failed by sonar plugin:
> {code:bash}
> [2024-01-15T03:58:10.100Z] [INFO] BUILD FAILURE
> [2024-01-15T03:58:10.100Z] [INFO]
> ------------------------------------------------------------------------
> [2024-01-15T03:58:10.100Z] [INFO] Total time: 01:07 min
> [2024-01-15T03:58:10.100Z] [INFO] Finished at: 2024-01-15T03:58:09Z
> [2024-01-15T03:58:10.100Z] [INFO]
> ------------------------------------------------------------------------
> [2024-01-15T03:58:10.100Z] [ERROR] Failed to execute goal
> org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar
> (default-cli) on project hive:
> [2024-01-15T03:58:10.100Z] [ERROR]
> [2024-01-15T03:58:10.100Z] [ERROR] The version of Java (11.0.8) used to run
> this analysis is deprecated, and SonarCloud no longer supports it. Please
> upgrade to Java 17 or later.
> [2024-01-15T03:58:10.100Z] [ERROR] As a temporary measure, you can set the
> property 'sonar.scanner.force-deprecated-java-version' to 'true' to continue
> using Java 11.0.8
> [2024-01-15T03:58:10.100Z] [ERROR] This workaround will only be effective
> until January 28, 2024. After this date, all scans using the deprecated Java
> 11 will fail.
> [2024-01-15T03:58:10.100Z] [ERROR] -> [Help 1]
> [2024-01-15T03:58:10.100Z] [ERROR]
> [2024-01-15T03:58:10.100Z] [ERROR] To see the full stack trace of the errors,
> re-run Maven with the -e switch.
> [2024-01-15T03:58:10.100Z] [ERROR] Re-run Maven using the -X switch to enable
> full debug logging.
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)