Regarding building CentOS packages on Fedora, I actually used to do it all the time. I don't remember if I was using Fedora 17 or Fedora 18, but I was able to install architecture-independent packages on CentOS 6 that I had built on my laptop. I certainly wouldn't do it in production, but it was nice to build on my physical host when I wanted to verify changes that I knew were not closely coupled with `rpm` itself. If you're building native binaries (like libhdfs) then you definitely want to do it on the target OS because it will link against glibc, etc... For stuff like that I'd suggest just using a VM. I use Vagrant all the time and it's a quick way of getting a real, lightweight CentOS environment to run builds in.
On Tue, Jan 28, 2014 at 7:34 AM, Konstantin Boudnik <[email protected]> wrote: > Hi Javi. > > Here are some info in the order > > 1. Start from looking into Bigtop website, in particular its wiki's > Packaging > section. > > 2. Hadoop 2.2 is incompatible with Hadoop 2.0.x. Adding 2.2 support is > scoped > for upcoming release of Bigtop 0.8.0 > > Cos > > On Tue, Jan 28, 2014 at 10:57AM, Javi Roman wrote: > > Hi! > > > > I'm just starting to work with Bigtop and I'm going to ask some > > trivial questions in order to lay the foundations for me, I hope you > > can give me some clues! > > > > 1. Packaging (RPM/DEB): > > > > Is there any configuration or command in Bigtop to make RPM packages > > for CentOS 6 (for example) if I'm using a Fedora based host as > > building platform? For example Fedora 18 is using RPM v4.10.1 and > > CentOS 6.4 is using RPM v4.8.0. Due to Bigtop is using the system wide > > command RPM, probably packages builds in Fedora are not suitables for > > a CentOS 6.x system. > > > > 2. Hadoop versions: > > > > The master branch of Bigtop has the version file "bigtop.mk" with > > HADOOP_BASE_VERSION=2.0.6-alpha. For internal use, if I want to use > > the last Hadoop stable version (2.2.0), which are the recommendations > > in order to don't break the inter-component dependencies? By the way, > > why Bigtop is not using Hadoop 2.2.0 as base version? > > > > I have more questions, but I don't want boring you! > > > > Many thanks and congratulations for this project. > > > > > > Javi Roman >
