[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-29 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

This is fixed by -HBASE-19780-

Resolved

I'll not apply the below change, undoing a workaround which does not run 
checkstyle as part of site build... its not harm (checkstyle is in place when 
we do the initial build when we make a release candidate).
{code:java}
diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index f067ee9..1424249 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -78,8 +78,7 @@ function build_bin {
MAVEN_OPTS="${mvnopts}" ${mvn} clean install -DskipTests \
-Papache-release -Prelease \
-Dmaven.repo.local=${output_dir}/repository
- MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests \
- -Dcheckstyle.skip=true site assembly:single \
+ MAVEN_OPTS="${mvnopts}" ${mvn} install -DskipTests assembly:single \
-Papache-release -Prelease \
-Dmaven.repo.local=${output_dir}/repository
mv ./hbase-assembly/target/hbase-*.tar.gz "${output_dir}"{code}
 

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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-2
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-09 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

Moved to beta-2 since I have workaround.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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-2
>
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-08 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

bq, I just did a rebuild of alpha4 and it worked

A coworker asked if it worked when I cut first RC of beta-1 and indeed it 
did... so the change/breakage come in as result of a change that landed 
sometime in the last week or so...

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-08 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

bq. but I did see that this happened on both Maven 3.3 and 3.5 FWIW.

Thanks [~elserj] That helps.

I just did a rebuild of alpha4 and it worked so this failure is new since then. 
That might help narrow what is going on.

Our checkstyle plugin is latest but its from a few years ago.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-08 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-19725:


bq. 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. 

Yup, agreed. Already got that fixed at the source.

bq. 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.

I haven't looked to see if there's any new checkstyle-plugin to nab, but I did 
see that this happened on both Maven 3.3 and 3.5 FWIW.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-19725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-19725:


I spent a bit of time digging into this issue (at least, the one that Ted 
filed) over Xmas break. Sadly, to no avail.

I'm not entirely convinced this isn't a Maven issue itself. I'm guessing that 
both: {{mvn javadoc:aggregate package}} and {{mvn install assembly:single 
-Papache-release}} are both triggering some similar codepath. I didn't see 
anything obviously wrong with the changes that Jan had made.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

Ted's maven goal salad is no good to me; it is missing 'site'. 

For beta1, I can skip checkstyle report for now while figure what's up here.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

Looking at Misty's fancy script at 
dev-support/jenkins-scripts/generate-hbase-website.sh, she does install in one 
step then site in following. Building tgz with assembly, we need install + site 
on the line along w/ assembly.

Passing -Dcheckstyle.skip=true I can get the tgz to build (its still running). 
Means we don't have checkstyle report but we'll have checkstyle benefit because 
the tgz is done after a clean install to check all good.


> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

Excluding checkstyle report in top-level pom doesn't work.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

[~Jan Hentschel] Thanks for chiming in. Error is same but Ted was running some 
arbitrary set of build commands Site needs install not package. Then 
claimed it worked. Doesn't say what he did.

The above install + site is how we build RCs. See 
http://hbase.apache.org/book.html#maven.release.

It worked when I did alpha RC4 so something recent.

I'll keep digging

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread Jan Hentschel (JIRA)

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

Jan Hentschel commented on HBASE-19725:
---

Maybe it's the same problem as in HBASE-19690 where [~yuzhih...@gmail.com] had 
a similar issue.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---



[INFO] Reactor Summary:
[INFO]
[INFO] Apache HBase .. SUCCESS [9:28.676s]
[INFO] Apache HBase - Checkstyle . SUCCESS [0.616s]
[INFO] Apache HBase - Build Support .. SUCCESS [0.087s]
[INFO] Apache HBase - Error Prone Rules .. FAILURE [0.113s]



[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 9:31.670s
[INFO] Finished at: Sun Jan 07 04:50:20 PST 2018
[INFO] Final Memory: 467M/7762M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on 
project hbase-error-prone: Failed during checkstyle execution: Unable to find 
configuration file at location: hbase/checkstyle.xml: Could not find resource 
'hbase/checkstyle.xml'. -> [Help 1]

Trying to skip checkstyle in reporting section and excluding site from 
errorprone. Takes for ever to run though. Need a skip javadoc 

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)


[jira] [Commented] (HBASE-19725) Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid distance too far back"

2018-01-07 Thread stack (JIRA)

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

stack commented on HBASE-19725:
---

[~Jan Hentschel] You might have some input sir? I'm trying to figure this one 
at mo.

> Build fails, unable to read hbase/checkstyle-suppressions.xml "invalid 
> distance too far back"
> -
>
> 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
(v6.4.14#64029)