You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Mayra Mendoza <ar...@gmail.com> on 2009/11/26 21:28:51 UTC
Help with Hadoop pipes
Hi everyone...
I need your help with Hadoop - Pipe - C ++, I have followed the example of
the wiki WordCount (http://wiki.apache.org/hadoop/C% 2B% 2BWordCount) but I
can not run it. Could someone give me a guide of how to do it.
I'm using a virtual machine ubuntu with cloudera and hadoop 0.18.3
Sorry for my bad English.
Thanks a lot.
--------------------------------------------------------------------------------------------------------------------------
training@training-vm:~/hadoop-0.18.3$ *ant -Dcompile.c++=yes examples*
Buildfile: build.xml
clover.setup:
clover.info:
[echo]
[echo] Clover not found. Code coverage reports disabled.
[echo]
clover:
init:
[touch] Creating /tmp/null495911748
[delete] Deleting: /tmp/null495911748
[exec] src/saveVersion.sh: 22: svn: not found
[exec] src/saveVersion.sh: 23: svn: not found
record-parser:
compile-rcc-compiler:
compile-core-classes:
[javac] Compiling 1 source file to
/home/training/hadoop-0.18.3/build/classes
compile-core-native:
check-c++-makefiles:
create-c++-pipes-makefile:
[exec] checking for a BSD-compatible install... /usr/bin/install -c
[exec] checking whether build environment is sane... yes
[exec] checking for gawk... no
[exec] checking for mawk... mawk
[exec] checking whether make sets $(MAKE)... yes
[exec] checking for style of include used by make... GNU
[exec] checking for gcc... gcc
[exec] configure: error: C compiler cannot create executables
[exec] See `config.log' for more details.
[exec] checking for C compiler default output file name...
BUILD FAILED
/home/training/hadoop-0.18.3/build.xml:1184: exec returned: 77
--------------------------------------------------------------------------------------------------------------------------
Re: Help with Hadoop pipes
Posted by Rekha Joshi <re...@yahoo-inc.com>.
It is better to use cloudera wordcount pipes example itself to be using the correct params. Also the issue here seems to be in building itself.Did you check what `config.log' suggest to be the cause why C compiler failed?
Were you able to compile any other c++ program with this build file on your setup?
Thanks & Regards,
/R
On 11/27/09 1:58 AM, "Mayra Mendoza" <ar...@gmail.com> wrote:
Hi everyone...
I need your help with Hadoop - Pipe - C ++, I have followed the example of
the wiki WordCount (http://wiki.apache.org/hadoop/C% 2B% 2BWordCount) but I
can not run it. Could someone give me a guide of how to do it.
I'm using a virtual machine ubuntu with cloudera and hadoop 0.18.3
Sorry for my bad English.
Thanks a lot.
--------------------------------------------------------------------------------------------------------------------------
training@training-vm:~/hadoop-0.18.3$ *ant -Dcompile.c++=yes examples*
Buildfile: build.xml
clover.setup:
clover.info:
[echo]
[echo] Clover not found. Code coverage reports disabled.
[echo]
clover:
init:
[touch] Creating /tmp/null495911748
[delete] Deleting: /tmp/null495911748
[exec] src/saveVersion.sh: 22: svn: not found
[exec] src/saveVersion.sh: 23: svn: not found
record-parser:
compile-rcc-compiler:
compile-core-classes:
[javac] Compiling 1 source file to
/home/training/hadoop-0.18.3/build/classes
compile-core-native:
check-c++-makefiles:
create-c++-pipes-makefile:
[exec] checking for a BSD-compatible install... /usr/bin/install -c
[exec] checking whether build environment is sane... yes
[exec] checking for gawk... no
[exec] checking for mawk... mawk
[exec] checking whether make sets $(MAKE)... yes
[exec] checking for style of include used by make... GNU
[exec] checking for gcc... gcc
[exec] configure: error: C compiler cannot create executables
[exec] See `config.log' for more details.
[exec] checking for C compiler default output file name...
BUILD FAILED
/home/training/hadoop-0.18.3/build.xml:1184: exec returned: 77
--------------------------------------------------------------------------------------------------------------------------