hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Haidinyak" <javam...@cox.net>
Subject Re: LZO Packager on Centos 5.5 fails
Date Mon, 07 Mar 2011 02:25:19 GMT
Are you doing a 64bit build or doesn't it matter?

Thanks

-Pete

On Sat, 05 Mar 2011 21:35:30 -0800, Saurabh Dutta  
<saurabh.dutta@impetus.co.in> wrote:

> Hi,
>
> Try and open the file "toddlipcon-hadoop-lzo.spec" in your SPECS  
> directory and replace the '-' with '_' in line number 3. See if this  
> works for you.
>
> Thanks,
> Saurabh
> ________________________________________
> From: phil young [phil.wills.young@gmail.com]
> Sent: Sunday, March 06, 2011 4:27 AM
> To: hadoop-common-user
> Subject: LZO Packager on Centos 5.5 fails
>
> I'm trying to install LZO on CDH3B3, using the LZO Packager tool here (
> https://github.com/toddlipcon/hadoop-lzo-packager)
> I'm running the following on Centos 5.5.
>
> I'm not an expert on RPM building. Does anyone have any suggestions about
> how to debug this?
>
> hadoop-lzo-packager]# ./run.sh
> + ANT_VERSION=1.8.1
> + ANT_TARBALL=apache-ant-1.8.1-bin.tar.gz
> + ANT_TARBALL_URL=
> http://www.gtlib.gatech.edu/pub/apache/ant/binaries/apache-ant-1.8.1-bin.tar.gz
> + '[' -n '' ']'
> + '[' -n '' ']'
> + SRC_PROJECT=github
> + RELEASE=1
> ++ getent passwd root
> ++ cut -d: -f5
> ++ cut -d, -f1
> + PACKAGER=root
> ++ hostname -f
> + HOST=pyoung-dev.tripadvisor.com
> + PACKAGER_EMAIL=root@pyoung-dev.tripadvisor.com
> + HADOOP_HOME=/usr/lib/hadoop
> +++ dirname ./run.sh
> ++ readlink -f .
> + BINDIR=/root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager
> + mkdir -p build
> + setup_github
> + GITHUB_ACCOUNT=toddlipcon
> + GITHUB_BRANCH=master
> + PACKAGE_HOMEPAGE=http://github.com/toddlipcon/hadoop-lzo
> + TARURL=http://github.com/toddlipcon/hadoop-lzo/tarball/master
> ++ ls
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-0.4.9-3-g2bd0d5b.tar.gz
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-20110305174723.0.4.9-3-g2bd0d5b.tar.gz
> + '[' -z
> '/root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-0.4.9-3-g2bd0d5b.tar.gz
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-20110305174723.0.4.9-3-g2bd0d5b.tar.gz'
> ']'
> ++ ls -1
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-0.4.9-3-g2bd0d5b.tar.gz
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-20110305174723.0.4.9-3-g2bd0d5b.tar.gz
> ++ head -1
> +
> ORIG_TAR=/root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-0.4.9-3-g2bd0d5b.tar.gz
> ++ expr match
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-0.4.9-3-g2bd0d5b.tar.gz
> '.*hadoop-lzo-\(.*\).tar.gz'
> + GIT_HASH=0.4.9-3-g2bd0d5b
> + echo 'Git hash: 0.4.9-3-g2bd0d5b'
> Git hash: 0.4.9-3-g2bd0d5b
> + NAME=toddlipcon-hadoop-lzo
> ++ date +%Y%m%d%H%M%S
> + VERSION=20110305174749.0.4.9-3-g2bd0d5b
> + pushd /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/
> + mkdir toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b/
> + tar -C toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b/
> --strip-components=1 -xzf
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-0.4.9-3-g2bd0d5b.tar.gz
> + tar czf toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b.tar.gz
> toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b/
> + popd
> +
> CHECKOUT_TAR=/root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b.tar.gz
> +  
> TOPDIR=/root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir
> +
> CHECKOUT=/root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b
> + checkout_github
> + echo -n
> + '[' '!' -e
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b.tar.gz
> ']'
> + '[' -n '' ']'
> + '[' -z '' ']'
> + rm -Rf  
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir
> + mkdir -p
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir
> + cd /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir/
> + mkdir SOURCES BUILD SPECS SRPMS RPMS BUILDROOT
> + cat /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/template.spec
> + do_substs
> + sed '
>  s,@PACKAGE_NAME@,toddlipcon-hadoop-lzo,g;
>  s,@PACKAGE_HOMEPAGE@,http://github.com/toddlipcon/hadoop-lzo,g;
>  s,@VERSION@,20110305174749.0.4.9-3-g2bd0d5b,g;
>  s,@RELEASE@,1,g;
>  s,@PACKAGER@,root,g;
>  s,@PACKAGER_EMAIL@,root@pyoung-dev.tripadvisor.com,g;
>  s,@HADOOP_HOME@,/usr/lib/hadoop,g;
> '
> + cp
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/toddlipcon-hadoop-lzo-20110305174749.0.4.9-3-g2bd0d5b.tar.gz
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir/SOURCES
> + pushd
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir/SPECS
> ++ pwd
> ++ pwd
> + rpmbuild --buildroot
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir/SPECS/../BUILDROOT
> --define '_topdir
> /root/pwy/lzo_research/toddlipcon/hadoop-lzo-packager/build/topdir/SPECS/..'
> -ba toddlipcon-hadoop-lzo.spec
> error: line 3: Illegal char '-' in version: Version:
> 20110305174749.0.4.9-3-g2bd0d5b
>
> ________________________________
>
> Are you exploring a Big Data Strategy ? Listen to this recorded webinar  
> on Planning your Hadoop/ NoSQL projects for 2011 at  
> www.impetus.com/featured_webinar?eventid=37
>
> Follow us on www.twitter.com/impetuscalling or visit www.impetus.com to  
> know more.
>
>
> NOTE: This message may contain information that is confidential,  
> proprietary, privileged or otherwise protected by law. The message is  
> intended solely for the named addressee. If received in error, please  
> destroy and notify the sender. Any use of this email is prohibited when  
> received in error. Impetus does not represent, warrant and/or guarantee,  
> that the integrity of this communication has been maintained nor that  
> the communication is free of errors, virus, interception or interference.


Mime
View raw message