You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/13 18:11:40 UTC

[jira] [Commented] (BIGTOP-2236) GRADLE_USER_HOME should be set for bigtop/slaves images only

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

ASF GitHub Bot commented on BIGTOP-2236:
----------------------------------------

GitHub user evans-ye opened a pull request:

    https://github.com/apache/bigtop/pull/69

    BIGTOP-2236. GRADLE_USER_HOME should be set for bigtop/slaves images …

    …only

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/evans-ye/bigtop BIGTOP-2236

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bigtop/pull/69.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #69
    
----
commit 6c0536d9355e4c356281dfd950265f84d953a9ae
Author: Evans Ye <ev...@apache.org>
Date:   2016-01-13T17:09:16Z

    BIGTOP-2236. GRADLE_USER_HOME should be set for bigtop/slaves images only

----


> GRADLE_USER_HOME should be set for bigtop/slaves images only
> ------------------------------------------------------------
>
>                 Key: BIGTOP-2236
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2236
>             Project: Bigtop
>          Issue Type: Bug
>          Components: docker, toolchain
>    Affects Versions: 1.0.0
>            Reporter: Evans Ye
>            Assignee: Evans Ye
>
> Currently {{GRADLE_USER_HOME=/usr/share/gradle.home}} has been set in {{/etc/profile.d/bigtop.sh}}, therefore gradle downloaded packages are secretly stored in {{/usr/share/gradle.home}} instead of user home. This makes bigtop users confused(BIGTOP-2184) because they have no idea about {{/usr/share/gradle.home}}.
> Besides that, the cache mechanism is only needed by docker images. We should take off {{GRADLE_USER_HOME}} env variable in {{/etc/profile.d/bigtop.sh}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)