I'm trying to build scribe 2.1 (the distribution archive from github)
with Hadoop 0.20.1 (distribution archive). However, I get this error:
HdfsFile.cpp:236: error: ‘hdfsConnectNewInstance’ was not declared in
this scope
A quick check in hdfs.h confirms that in Hadoop 0.20.1, there is no
such function (see
http://svn.apache.org/viewvc/hadoop/common/tags/release-0.20.1/src/c%2B%2B/libhdfs/hdfs.h?revision=812594&view=co).
Apparently this function was added after 0.20.1 was released as I see
it in the trunk version of libhdfs (http://svn.apache.org/viewvc/
hadoop/hdfs/trunk/src/c%2B%2B/libhdfs/hdfs.h?view=co).
The question is, should I use trunk of libhdfs, or what version of
libhdfs is safe to use with both Hadoop 0.20.1 and Scribe 2.1 ?
cheers,
Tom
You may want to look at the Cloudera (free) RPM for Hadoop 0.20.1 (the
current version is the +152 one). The hdfsConnectNewInstance stuff
was in a patch from Dhruba IIRC, and it's in 0.21. Cloudera
backported this for us and others who were looking to use Scribe with
a pre-0.21 version. I think that's what you need to compile against.
Kevin
On Jan 14, 5:37 pm, Tom <tom...@gmail.com> wrote:
> hi,
>
> I'm trying to build scribe 2.1 (the distribution archive from github)
> with Hadoop 0.20.1 (distribution archive). However, I get this error:
>
> HdfsFile.cpp:236: error: ‘hdfsConnectNewInstance’ was not declared in
> this scope
>
> A quick check in hdfs.h confirms that in Hadoop 0.20.1, there is no
> such function (seehttp://svn.apache.org/viewvc/hadoop/common/tags/release-0.20.1/src/c%...).
Tom
I am building Scribe 2.1 with Hadoop Cloudera-dist 0.20.1+152, as per
the same problem covered previously by this thread.
I now receive the following error when trying to build:
libhdfs.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
Any insight into how I can remedy this is much appreciated.
Thanks in advance.
Chris
On Jan 18, 3:09 pm, Tom <tom...@gmail.com> wrote:
> Thanks, the Cloudera version works fine.
>
> Tom
>
> On Jan 15, 12:07 am, Kevin Weil <kevinw...@gmail.com> wrote:
>
>
>
> > Tom,
>
> > You may want to look at the Cloudera (free) RPM forHadoop0.20.1 (the
> > current version is the +152 one). The hdfsConnectNewInstance stuff
> > was in a patch from Dhruba IIRC, and it's in 0.21. Cloudera
> > backported this for us and others who were looking to useScribewith
> > a pre-0.21 version. I think that's what you need to compile against.
>
> > Kevin
>
> > On Jan 14, 5:37 pm, Tom <tom...@gmail.com> wrote:
>
> > > hi,
>
> > > I'm trying to buildscribe2.1(the distribution archive from github)
> > > withHadoop0.20.1 (distribution archive). However, I get this error:
>
> > > HdfsFile.cpp:236: error: ‘hdfsConnectNewInstance’ was not declared in
> > > this scope
>
> > > A quick check in hdfs.h confirms that inHadoop0.20.1, there is no