You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Zsolt Miskolczi <zs...@gmail.com> on 2024/01/16 21:00:46 UTC
SonarCloud deprecates Java11?
Hi,
I saw that in one of the splits at my pr. Should we start to worry?
jenkins / hive-precommit / PR-4740 / #22 (apache.org)
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582>
[2024-01-16T19:33:27.462Z] [INFO] BUILD FAILURE
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-251>[2024-01-16T19:33:27.462Z]
[INFO] ------------------------------------------------------------------------
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-252>[2024-01-16T19:33:27.462Z]
[INFO] Total time: 55.968 s
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-253>[2024-01-16T19:33:27.462Z]
[INFO] Finished at: 2024-01-16T19:33:26Z
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-254>[2024-01-16T19:33:27.462Z]
[INFO] ------------------------------------------------------------------------
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-255>[2024-01-16T19:33:27.462Z]
[ERROR] Failed to execute goal
org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar
(default-cli) on project hive:
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-256>[2024-01-16T19:33:27.462Z]
[ERROR]
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-257>[2024-01-16T19:33:27.462Z]
[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.
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-258>[2024-01-16T19:33:27.462Z]
[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
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-259>[2024-01-16T19:33:27.462Z]
[ERROR] This workaround will only be effective until January 28, 2024.
After this date, all scans using the deprecated Java 11 will fail.
<http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-260>[2024-01-16T19:33:27.462Z]
[ERROR] -> [Help 1]
Re: SonarCloud deprecates Java11?
Posted by Zsolt Miskolczi <zs...@gmail.com>.
Hi Stamatis,
Thank you for the information. I didn't know about that.
Zsolt
Stamatis Zampetakis <za...@gmail.com> ezt írta (időpont: 2024. jan. 16.,
K, 22:06):
> Hello,
>
> There is a PR for addressing the problem [1] and it will be merged in
> the next few days. In the meantime feel free to ignore the Sonar
> errors; nothing too bad will happen by doing this.
>
> Many thanks to Wechar Yu for jumping on this and pushing it forward.
>
> Best,
> Stamatis
>
> [1] https://github.com/apache/hive/pull/5004
>
> On Tue, Jan 16, 2024 at 10:01 PM Zsolt Miskolczi
> <zs...@gmail.com> wrote:
> >
> > Hi,
> >
> > I saw that in one of the splits at my pr. Should we start to worry?
> >
> > jenkins / hive-precommit / PR-4740 / #22 (apache.org)
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582
> >
> >
> >
> > [2024-01-16T19:33:27.462Z] [INFO] BUILD FAILURE
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-251
> >[2024-01-16T19:33:27.462Z]
> > [INFO]
> ------------------------------------------------------------------------
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-252
> >[2024-01-16T19:33:27.462Z]
> > [INFO] Total time: 55.968 s
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-253
> >[2024-01-16T19:33:27.462Z]
> > [INFO] Finished at: 2024-01-16T19:33:26Z
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-254
> >[2024-01-16T19:33:27.462Z]
> > [INFO]
> ------------------------------------------------------------------------
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-255
> >[2024-01-16T19:33:27.462Z]
> > [ERROR] Failed to execute goal
> > org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar
> > (default-cli) on project hive:
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-256
> >[2024-01-16T19:33:27.462Z]
> > [ERROR]
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-257
> >[2024-01-16T19:33:27.462Z]
> > [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.
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-258
> >[2024-01-16T19:33:27.462Z]
> > [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
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-259
> >[2024-01-16T19:33:27.462Z]
> > [ERROR] This workaround will only be effective until January 28, 2024.
> > After this date, all scans using the deprecated Java 11 will fail.
> >
> > <
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-260
> >[2024-01-16T19:33:27.462Z]
> > [ERROR] -> [Help 1]
>
Re: SonarCloud deprecates Java11?
Posted by Stamatis Zampetakis <za...@gmail.com>.
Hello,
There is a PR for addressing the problem [1] and it will be merged in
the next few days. In the meantime feel free to ignore the Sonar
errors; nothing too bad will happen by doing this.
Many thanks to Wechar Yu for jumping on this and pushing it forward.
Best,
Stamatis
[1] https://github.com/apache/hive/pull/5004
On Tue, Jan 16, 2024 at 10:01 PM Zsolt Miskolczi
<zs...@gmail.com> wrote:
>
> Hi,
>
> I saw that in one of the splits at my pr. Should we start to worry?
>
> jenkins / hive-precommit / PR-4740 / #22 (apache.org)
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582>
>
>
> [2024-01-16T19:33:27.462Z] [INFO] BUILD FAILURE
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-251>[2024-01-16T19:33:27.462Z]
> [INFO] ------------------------------------------------------------------------
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-252>[2024-01-16T19:33:27.462Z]
> [INFO] Total time: 55.968 s
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-253>[2024-01-16T19:33:27.462Z]
> [INFO] Finished at: 2024-01-16T19:33:26Z
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-254>[2024-01-16T19:33:27.462Z]
> [INFO] ------------------------------------------------------------------------
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-255>[2024-01-16T19:33:27.462Z]
> [ERROR] Failed to execute goal
> org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar
> (default-cli) on project hive:
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-256>[2024-01-16T19:33:27.462Z]
> [ERROR]
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-257>[2024-01-16T19:33:27.462Z]
> [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.
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-258>[2024-01-16T19:33:27.462Z]
> [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
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-259>[2024-01-16T19:33:27.462Z]
> [ERROR] This workaround will only be effective until January 28, 2024.
> After this date, all scans using the deprecated Java 11 will fail.
>
> <http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4740/22/pipeline/582#step-585-log-260>[2024-01-16T19:33:27.462Z]
> [ERROR] -> [Help 1]