You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/01/08 22:49:00 UTC

[jira] [Resolved] (HBASE-25473) [create-release] checkcompatibility.py failing with "KeyError: 'binary'"

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

Michael Stack resolved HBASE-25473.
-----------------------------------
    Fix Version/s: 3.0.0-alpha-1
     Hadoop Flags: Reviewed
     Release Note: Adds temporary exclude of hbase-shaded-testing-util from checkcompatibility so create-release can work again. Undo exclude when sub-issue is fixed.
         Assignee: Michael Stack
       Resolution: Fixed

Merged. Thanks for review [~ndimiduk]

> [create-release] checkcompatibility.py failing with "KeyError: 'binary'"
> ------------------------------------------------------------------------
>
>                 Key: HBASE-25473
>                 URL: https://issues.apache.org/jira/browse/HBASE-25473
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Michael Stack
>            Assignee: Michael Stack
>            Priority: Major
>             Fix For: 3.0.0-alpha-1
>
>
> Below is excerpt from log of RC0 2.3.4 build this afternoon when we try to do the compatibility check (inside docker create-release build). It had failed for me previously on another run of different versions. The failure is unfortunately cryptic.
> {code}
> 2021-01-07T01:08:34Z generate_api_report start
> INFO:root:Source revision: rel/2.3.3
> INFO:root:Destination revision: 2.3.4RC0
> INFO:root:Filtering classes using 1 annotation(s):
> INFO:root:      org.apache.yetus.audience.InterfaceAudience.Public
> INFO:root:Downloading Java ACC...
> INFO:root:Java ACC version: 2.4
> INFO:root:Removing scratch dir /home/vagrant/hbase-rm/output/hbase/target/compat-check
> INFO:root:Creating empty scratch dir /home/vagrant/hbase-rm/output/hbase/target/compat-check
> INFO:root:Checking out 5f7fe66efbdfc1c0b3262c0677f17e4055ba94cd in /home/vagrant/hbase-rm/output/hbase/target/compat-check/src
> INFO:root:Checking out ec79612b9ac6afd73fa8fc7f7f5c8d3bac277679 in /home/vagrant/hbase-rm/output/hbase/target/compat-check/dst
> INFO:root:Building in /home/vagrant/hbase-rm/output/hbase/target/compat-check/src
> INFO:root:Building in /home/vagrant/hbase-rm/output/hbase/target/compat-check/dst
> INFO:root:Will check compatibility between original jars:
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/src/hbase-shaded/hbase-shaded-client-byo-hadoop/target/original-hbase-shaded-client-byo-hadoop-2.3.3.jar
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/src/hbase-external-blockcache/target/hbase-external-blockcache-2.3.3.jar
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/src/hbase-shaded/hbase-shaded-client/target/original-hbase-shaded-client-2.3.3.jar
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/src/hbase-zookeeper/target/hbase-zookeeper-2.3.3.jar
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/src/hbase-common/target/hbase-common-2.3.3.jar
> ....
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/dst/hbase-shaded/hbase-shaded-testing-util-tester/target/hbase-shaded-testing-util-tester-2.3.4.jar
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/dst/hbase-archetypes/hbase-shaded-client-project/target/hbase-shaded-client-project-2.3.4.jar
>         /home/vagrant/hbase-rm/output/hbase/target/compat-check/dst/hbase-protocol/target/hbase-protocol-2.3.4.jar
> INFO:root:Annotations are: ['org.apache.yetus.audience.InterfaceAudience.Public']
> INFO:root:Annotations path: /home/vagrant/hbase-rm/output/hbase/target/compat-check/annotations.txt
> INFO:root:Results: {}
> Traceback (most recent call last):
>   File "./hbase/dev-support/checkcompatibility.py", line 530, in <module>
>     main()
>   File "./hbase/dev-support/checkcompatibility.py", line 526, in main
>     args.compare_warnings))
>   File "./hbase/dev-support/checkcompatibility.py", line 232, in compare_results
>     if tool_results[check][issue_type] > known_count]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)