yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YETUS-445) Incorporate check_compatibility that runs Java API Compliance Checker
Date Wed, 24 Aug 2016 01:45:22 GMT

    [ https://issues.apache.org/jira/browse/YETUS-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15434042#comment-15434042
] 

Andrew Wang commented on YETUS-445:
-----------------------------------

Thanks for taking a look Dima. Yea, I literally just debugged it to there not being a fully-qualified
package for the annotations. I'll make it configurable via the command-line as a workaround
for now.

Supporting the different builds properly is going to be hard without a more fully pluggable
solution. One issue I already sort of ran into with Guava is JDK versions. We can add the
Maven flags as a half-measure though, since I do see that HBase wants to pass "--batch-mode".

I'll also add support for exclusion filters, since it looks like Kudu and HBase have some
special logic here for excluding shaded JARs.

> Incorporate check_compatibility that runs Java API Compliance Checker
> ---------------------------------------------------------------------
>
>                 Key: YETUS-445
>                 URL: https://issues.apache.org/jira/browse/YETUS-445
>             Project: Yetus
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: YETUS-445.001.patch, YETUS-445.002.patch, YETUS-445.003.patch
>
>
> Kudu has a check_compatibility.py script which runs Java ACC to determine API changes
between releases. HBase has a similar script written in bash, and there's also demand for
using this in Hadoop.
> Rather than having this script in 3 different places, it'd be nice if it was maintained
in Yetus instead. We can bring in the Kudu version as a starting point:
> https://github.com/apache/kudu/blob/master/build-support/check_compatibility.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message