hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"
Date Mon, 08 Jan 2018 05:43:03 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315698#comment-16315698

stack commented on HBASE-19725:

Thanks [~elserj]. On face of it, seems checkstyle is generating a bad jar (1.8/later zlibs
are more strict apparently; exception is ''ZipException: invalid distance too far back').
Could play w/ alternate delivery of the checkstyle-suppressions.xml from a file rather than
jar location if can't figure the jar packaging issue.

{code}javadoc:aggregate package{code} is gobbledegook (don't forget bit where we then ask
to suppress javadoc on same command-line and we throw in a failsafe verify too) so not too
worried about that one. The other, install+site+assembly, is our 'standard' RC generation
command-line that we've been using for 'years' so that would be good to fix (see doc on how
to generate an rc). I can use the workaround of not doing checkstyle on bundle of tarball
for now, just in the previous step where we populate the repo; means we get the benefit of
checkstyle but skip it assembling.

Currently trying alpha4. It didn't seem to have this issue. Might give us a clue here (Nothing
wrong w/ Jan work agree... I love it).

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far
> ---------------------------------------------------------------------------------------------
>                 Key: HBASE-19725
>                 URL: https://issues.apache.org/jira/browse/HBASE-19725
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 2.0.0-beta-1
> Build is failing on me (Trying to cut beta-1 RC on branch-2). It is first time we go
to use the jars made by hbase-checkstyle in the hbase-error-prone module under 'build support'
module when running the 'site' target. It is trying to make the checkstyle report.
> I see that we find the right jar to read:
> [DEBUG] The resource 'hbase/checkstyle-suppressions.xml' was found as jar:file:/home/stack/rc/hbase-2.0.0-beta-1.20180107T061305Z/repository/org/apache/hbase/hbase-checkstyle/2.0.0-beta-1/hbase-checkstyle-2.0.0-beta-1.jar!/hbase/checkstyle-suppressions.xml.
> But then it thinks the jar corrupt 'ZipException: invalid distance too far back'.
> Here is mvn output:
> 12667058 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
(checkstyle) on project hbase-error-prone: Failed during checkstyle executi         on: Unable
to process suppressions file location: hbase/checkstyle-suppressions.xml: Cannot create file-based
resource:invalid distance too far back -> [Help 1]
> 12667059 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project hba  
      se-error-prone: Failed during checkstyle execution
> I'm running this command:
> mvn -X install -DskipTests site assembly:single -Papache-release -Prelease -Dmaven.repo.local=//home/stack/rc/hbase-2.0.0-beta-1.20180107T061305Z/repository
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)

> Java version: 1.8.0_151, vendor: Oracle Corporation

This message was sent by Atlassian JIRA

View raw message