FAQ
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

--------------------------------------------------------------------------------------------------------------------------

Search Discussions

  • Rekha Joshi at Dec 1, 2009 at 6:52 am
    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" 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

    --------------------------------------------------------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedDec 1, '09 at 6:17a
activeDec 1, '09 at 6:52a
posts2
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Mayra Mendoza: 1 post Rekha Joshi: 1 post

People

Translate

site design / logo © 2022 Grokbase