looks like that got as far as one can expect:  it failed on building pig
(after having completed zookeeper and hbase): but the release notes seem to
indicate this were an expected error


touch /home/user/java/bigtop-0.1.0-incubating/build/pig//.download
rm -rf /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/
mkdir -p /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/pig-0.9.0
cp /home/user/java/bigtop-0.1.0-incubating/dl/pig-0.9.0.tar.gz
/home/user/java/bigtop-0.1.0-incubating/build/pig//deb/hadoop-pig_0.9.0.orig.tar.gz
cd /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/pig-0.9.0 && \
  tar --strip-components 1 -xvf ../hadoop-pig_0.9.0.orig.tar.gz
tar: This does not look like a tar archive


Now I just looked into the Makefile and yes it seems that "make deb" were
the proper thing to have done. The README did not 'read' exactly that way --
thus my initial confusion.

Is there a workaround for the pig build failure?

2011/10/23 Stephen Boesch <[email protected]>

> i'm trying "sudo make deb" and it is going farther
>
>
> 2011/10/23 Stephen Boesch <[email protected]>
>
>>
>> Hi,
>>   I'm confused on the target we are supposed to run to build "all"  under
>> ubuntu.  After trying various combinations such as  "make all deb" that did
>> not work I settled on "*make apt*" which went pretty far in
>> building/deploying the core hadoop packages.
>>
>> But after building the hadoop packages ~8 minutes the build failed at the
>> following:
>>
>> ...
>> mkdir -p /home/user/java/bigtop-0.1.0-incubating/output/apt/conf
>> cp /home/user/java/bigtop-0.1.0-incubating/src/repos/distributions
>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf
>> for i in
>> /home/user/java/bigtop-0.1.0-incubating/output/hadoop/hadoop_0.20.2*.changes
>> ; do reprepro -Vb /home/user/java/bigtop-0.1.0-incubating/output/apt include
>> bigtop $i ; done
>> Error parsing config file
>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf/distributions, line
>> 2:
>> Required field 'Architectures' expected (since line 1).
>> There have been errors!
>> Error parsing config file
>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf/distributions, line
>> 2:
>> *Required field 'Architectures' expected (since line 1).*
>> There have been errors!
>> make: *** [/home/user/java/bigtop-0.1.0-incubating/build/hadoop//.apt]
>> Error 249
>> user@ubuntu1:~/java/bigtop-0.1.0-incubating$ vi
>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf/distributions
>>
>>
>

Reply via email to