You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/11/26 00:27:00 UTC

[jira] [Commented] (HBASE-21513) [rm] make_rc.sh doesn't work on mac os x

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

Duo Zhang commented on HBASE-21513:
-----------------------------------

I've seen this before when releasing 2.1.0, I'm on ubuntu. And the solution is to run 'mvn install site' and 'mvn assembly::single' separately...

> [rm] make_rc.sh doesn't work on mac os x
> ----------------------------------------
>
>                 Key: HBASE-21513
>                 URL: https://issues.apache.org/jira/browse/HBASE-21513
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>            Reporter: stack
>            Priority: Major
>
> Trying to build an RC on a mac, it fails always for me with:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (default-cli) on project hbase-assembly: Failed to create assembly: Error adding file 'org.apache.hbase:hbase-common:jar:tests:2.0.3' to archive: /Users/stack/checkouts/hbase.git/hbase-common/target/test-classes isn't a file. -> [Help 1]
> [ERROR]
> {code}
> This is the second build that tries to assemble the tgz inside in make_rc.sh.
> If I leave out 'site' target, it works. I tried an earlier version that current head of branch-2.0 and it had same issue.
> [~busbey] had a nice suggestion changing the -DskipTests to -Dtest=NO_SUCH_TEST ... but that didn't work for me.
> I went and got a linux vm and it just worked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)