Hi,

Installed 2.8 manually (after figuring out that I needed to define the XERCECROOT environment variable). Having read the upstream documentation, not sure whether librecordio should be disabled - looks useful despite the alternatives and potentialially others are using it (but at the end of the day it is an upstream decision).

Continuing the build process but there seems to be a problem with a couple of patches in hive-0.9.1 :-( (had to tweak zookeeper to upgrade to 3.4.1 but notice that the same patch has already been applied to to trunk) Will continue to investigate.

Thanks,

Graeme

On 16/12/11 22:14, Bruno Mahé wrote:
On 12/16/2011 09:36 AM, Graeme Seaton wrote:
Hi,

Trying to build the hadoop-0.22 branch on Centos 6.1 and fails (on
both 32 and 64 bit versions) with:

      [exec] In file included from recordio.cc:22:
      [exec] xmlarchive.hh:77: error: conflicting return type specified
for 'virtual unsigned int hadoop::MyBinInputStream::curPos() const'
      [exec] /usr/include/xercesc/util/BinInputStream.hpp:41: error:
overriding 'virtual XMLFilePos xercesc_3_0::BinInputStream::curPos()
const'
      [exec] xmlarchive.hh: In member function 'virtual
xercesc_3_0::BinInputStream* hadoop::MyInputSource::makeStream() const':
      [exec] xmlarchive.hh:97: error: cannot allocate an object of
abstract type 'hadoop::MyBinInputStream'
      [exec] xmlarchive.hh:71: note:   because the following virtual
functions are pure within 'hadoop::MyBinInputStream':
      [exec] /usr/include/xercesc/util/BinInputStream.hpp:43:
note:      virtual XMLSize_t
xercesc_3_0::BinInputStream::readBytes(XMLByte*, XMLSize_t)
      [exec] /usr/include/xercesc/util/BinInputStream.hpp:67:
note:      virtual const XMLCh*
xercesc_3_0::BinInputStream::getContentType() const

Version of xerces is:

rpm -qa | grep xerces-c
xerces-c-3.0.1-20.el6.x86_64
xerces-c-devel-3.0.1-20.el6.x86_64

Is there a dependency on xereces-c 3.1 (or earlier versions)?  Have
searched G but not found any solutions.  Will I need to install
xerces-c 3.1 manually?

Regards,

Graeme

Hi Graeme,

Somehow Roman is having some issues posting to this mailing list, so
please find his reply below:

Hi Graeme!
That's a know issue with CentOS 6 and Hadoop 0.22 build. I believe the
solution
here is to manually install xerces 2.7. It would be nice to fix this
compatibility
issue in Hadoop .22 branch, but given that xerces is only required for
librecordio
(and that seems to be depricated) may be a better option would be to turn
it off completely in the Hadoop build.
Let us know what you think.
Thanks,
Roman.


Reply via email to