You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2024/06/22 03:16:00 UTC

[jira] [Resolved] (HBASE-28679) Upgrade yetus to a newer version

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

Duo Zhang resolved HBASE-28679.
-------------------------------
    Fix Version/s: 2.7.0
                   3.0.0-beta-2
                   2.6.1
                   2.5.9
     Hadoop Flags: Reviewed
     Release Note: 
Upgrade yetus to 0.15.0.

Some notable differences:
Whitespace related checks are renamed to blanks
Use xmllint instead of jrunscript for validating xml files.
For github there is an extra step to write commit status back to github but for HBase it does not work due to insufficient permission.
       Resolution: Fixed

Pushed to all active branches.

Thanks [~ndimiduk] for reviewing!

> Upgrade yetus to a newer version
> --------------------------------
>
>                 Key: HBASE-28679
>                 URL: https://issues.apache.org/jira/browse/HBASE-28679
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, jenkins
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1, 2.5.9
>
>
> Now we use the one in yetus for validating, where it uses jrunscript to execute a simple javascript script.
> But the javascript engine has been removed from JDK starting from JDK 15, so in JDK 17 we can not use this way any more.
> https://openjdk.java.net/jeps/372
> We should find another way to validate xml files.
> =========
> In newer version, yetus has already changed to use xmllint, so let's see how to upgreade yetus.



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