I ran into this problem and fixed it by setting permissions on the Forrest installation for the build user. I think it is Forrest itself attempting the plugin download. I wonder if we could download and unpack Forrest as part of the pig build, unless another component needs it also.
> On Sep 21, 2014, at 2:12 PM, Konstantin Boudnik <[email protected]> wrote: > > If I am not mistaken there's an attempt to write in something to the plugins > directory under forrest home, which is clearly a silly idea. Dunno how to fix > it though - never looked at forrest myself. > >> On Sat, Sep 20, 2014 at 07:09PM, Roman Shaposhnik wrote: >> Olaf, >> >> this clearly seems like a bug in how Pig uses Forrest. Would >> you be interested in helping us fix it? >> >> Thanks, >> Roman. >> >> On Wed, Sep 17, 2014 at 9:08 AM, Olaf Flebbe >> <[email protected]> wrote: >>> Hi, >>> >>>> >>>>> * I had the problem that one of the compile jobs actually writes into >>>>> FORREST_HOME (!) >>>> >>>> Wow! Do you happen to remember what it was? >>> >>> >>> It is Pig >>> >>> See log: >>> >>> (It is running in "jenkins" FORREST_HOME is in >>> /home/olaf/apache-forrest-0.9 and r/o ) >>> >>> Olaf >>> >>> >>> docs: >>> [exec] Apache Forrest. Run 'forrest -projecthelp' to list options >>> [exec] >>> [exec] Buildfile: /home/olaf/apache-forrest-0.9/main/forrest.build.xml >>> [exec] >>> [exec] check-java-version: >>> [exec] This is apache-forrest-0.9 >>> [exec] Using Java 1.6 from /usr/lib/jvm/java-7-openjdk-amd64/jre >>> [exec] Using Apache Ant version 1.7.1 compiled on September 26 2008 >>> from /home/olaf/apache-forrest-0.9/tools/ant >>> [exec] >>> [exec] init-props: >>> [exec] Created dir: >>> /home/jenkins/bigtop/output/pig/pig-0.12.1/src/docs/build/tmp >>> [exec] >>> [exec] echo-settings-condition: >>> [exec] >>> [exec] echo-settings: >>> [exec] >>> [exec] check-skin: >>> [exec] >>> [exec] init-proxy: >>> [exec] >>> [exec] fetch-skins-descriptors: >>> [exec] >>> [exec] fetch-skin: >>> [exec] >>> [exec] unpack-skins: >>> [exec] >>> [exec] init-skins: >>> [exec] >>> [exec] fetch-plugins-descriptors: >>> [exec] Copying 1 file to >>> /home/jenkins/bigtop/output/pig/pig-0.12.1/src/docs/build/tmp >>> [exec] Copying 1 file to >>> /home/jenkins/bigtop/output/pig/pig-0.12.1/src/docs/build/tmp >>> [exec] Fetching plugins descriptor: >>> http://forrest.apache.org/plugins/plugins.xml >>> [exec] Getting: http://forrest.apache.org/plugins/plugins.xml >>> [exec] To: >>> /home/jenkins/bigtop/output/pig/pig-0.12.1/src/docs/build/tmp/plugins-1.xml >>> [exec] local file date : Tue Feb 01 03:18:42 CET 2011 >>> [exec] .. >>> [exec] last modified = Mon Oct 07 05:46:22 CEST 2013 >>> [exec] Fetching plugins descriptor: >>> http://forrest.apache.org/plugins/whiteboard-plugins.xml >>> [exec] Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml >>> [exec] To: >>> /home/jenkins/bigtop/output/pig/pig-0.12.1/src/docs/build/tmp/plugins-2.xml >>> [exec] local file date : Tue Feb 01 03:18:42 CET 2011 >>> [exec] ... >>> [exec] last modified = Fri Jun 10 10:14:49 CEST 2011 >>> [exec] Plugin list loaded from >>> http://forrest.apache.org/plugins/plugins.xml. >>> [exec] Plugin list loaded from >>> http://forrest.apache.org/plugins/whiteboard-plugins.xml. >>> [exec] >>> [exec] init-plugins: >>> [exec] >>> [exec] BUILD FAILED >>> [exec] /home/olaf/apache-forrest-0.9/main/targets/plugins.xml:374: >>> Directory /home/olaf/apache-forrest-0.9/build/plugins creation was not >>> successful for an unknown reason >>> [exec] >>> [exec] Total time: 4 seconds >>> >>> -- >>> Vorstandsvorsitzender/Chairman of the board of management: >>> Gerd-Lothar Leonhart >>> Vorstand/Board of Management: >>> Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz >>> Vorsitzender des Aufsichtsrats/ >>> Chairman of the Supervisory Board: >>> Philippe Miltin >>> Sitz/Registered Office: Tuebingen >>> Registergericht/Registration Court: Stuttgart >>> Registernummer/Commercial Register No.: HRB 382196
