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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17260695#comment-17260695 ] 

Michael Stack commented on HBASE-25473:
---------------------------------------

See below for when I run:


 ./dev-support/checkcompatibility.py --annotation org.apache.yetus.audience.InterfaceAudience.Public rel/2.3.3 2.3.4RC0


{code}
INFO:root:Annotations are: ['org.apache.yetus.audience.InterfaceAudience.Public']
INFO:root:Annotations path: /Users/stack/checkouts/hbase.apache.git/target/compat-check/annotations.txt
...
java.io.IOException: META-INF/license : could not create directory
	at sun.tools.jar.Main.extractFile(Main.java:1045)
	at sun.tools.jar.Main.extract(Main.java:981)
	at sun.tools.jar.Main.run(Main.java:311)
	at sun.tools.jar.Main.main(Main.java:1288)
ERROR: can't extract '/Users/stack/checkouts/hbase.apache.git/target/compat-check/src/hbase-shaded/hbase-shaded-testing-util/target/hbase-shaded-testing-util-2.3.3.jar'
INFO:root:Results: {}
Traceback (most recent call last):
  File "./dev-support/checkcompatibility.py", line 530, in <module>
    main()
  File "./dev-support/checkcompatibility.py", line 526, in main
    args.compare_warnings))
  File "./dev-support/checkcompatibility.py", line 232, in compare_results
    if tool_results[check][issue_type] > known_count]
KeyError: 'binary'
{code}

> [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
>            Priority: Major
>
> 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)