You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2025/09/18 08:40:00 UTC

[jira] [Resolved] (HIVE-29196) Apply and report checkstyle issues via Sonarqube

     [ https://issues.apache.org/jira/browse/HIVE-29196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis resolved HIVE-29196.
----------------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

Fixed in https://github.com/apache/hive/commit/96d1635f98d0cfd5b0cd01115bb738e1c6053b94

> Apply and report checkstyle issues via Sonarqube
> ------------------------------------------------
>
>                 Key: HIVE-29196
>                 URL: https://issues.apache.org/jira/browse/HIVE-29196
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.2.0
>
>
> Checkstyle rules have been introduced in the project almost 15 years ago (HIVE-990). For quite some time these rules were enforced mostly manually and not consistently. With the Yetus integration in HIVE-16748 checkstyle issues on *new code* were reported for every patch (see also https://lists.apache.org/thread/nw1shot0l46dqwxs0sw3oyvq3zlotddd). After the migration to Kubernetes based CI infrastructure (HIVE-22942) checkstyle reports have been disabled (https://lists.apache.org/thread/r1xt8zh86ls5015mvf1j417h0v07h0wn) and eventually style checks have been mostly abandoned and the plugin stopped working.
> This ticket aims to reintroduce the checkstyle holistically on the entire project and upload results to the Sonarqube instance that will post a summary report on every pull-request. The Sonarqube report will remain mostly informative, as it is the case already, but it will be more comprehensive since it will include checkstyle violations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)