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.