Repository: bigtop Updated Branches: refs/heads/master c3055223c -> 911f6e1ca
BIGTOP-1445. Pig fails with clean .ivy and .m2 Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/0493cbfe Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/0493cbfe Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/0493cbfe Branch: refs/heads/master Commit: 0493cbfee159e5f8fea4e5f4616b15488948b432 Parents: c305522 Author: Roman Shaposhnik <[email protected]> Authored: Sat Sep 13 22:44:45 2014 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Sat Sep 13 22:44:45 2014 -0700 ---------------------------------------------------------------------- bigtop-packages/src/common/pig/do-component-build | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/0493cbfe/bigtop-packages/src/common/pig/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/pig/do-component-build b/bigtop-packages/src/common/pig/do-component-build index 8e07e26..1834719 100644 --- a/bigtop-packages/src/common/pig/do-component-build +++ b/bigtop-packages/src/common/pig/do-component-build @@ -41,8 +41,17 @@ BUILD_OPTS="-Djavac.version=1.6 -Dforrest.home=${FORREST_HOME} -Dversion=${PIG_V # FIXME: BIGTOP-894. Please get rid of the line below when Bigtop integrates a version of Pig that includes the fix for PIG-3262 export LC_ALL=en_US.UTF-8 -rm test/org/apache/pig/test/TestHBaseStorage.java -sed -i.orig -e 's#</modules>#<module organisation="org.apache.hadoop" name=".*" resolver="internal"/>\n</modules>#' ivy/ivysettings.xml +# FIXME: there's a weird synchronization issue between ivy and Maven caches wrt. jetty +# If we don't do the following the build fails with (note zip instead of jar): +# [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: +# [ivy:resolve] :: FAILED DOWNLOADS :: +# [ivy:resolve] :: ^ see resolution messages for details ^ :: +# [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: +# [ivy:resolve] :: org.mortbay.jetty#jetty;6.1.26!jetty.zip +# [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: +for h in ${HOME} `mvn help:system | grep '^user.home=' | cut -f2 -d=` ; do + rm -rf ${h}/.ivy2/cache/*jetty ${h}/.m2/repository/org/mortbay ${h}/.m2/repository/org/eclipse/jetty +done echo "forrest.maxmemory=256m" >> src/docs/forrest.properties
