Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6357413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:09:38+00:00 2026-05-24T23:09:38+00:00

I was trying out the simplistic word count example for hadoop pipes . Unfortunately

  • 0

I was trying out the simplistic word count example for hadoop pipes. Unfortunately it is erroring out with java.lang.NullPointerException and /usr/lib64/libstdc++.so.6: no version information available errors when I try to run it as:

$ bin/hadoop pipes -Dhadoop.pipes.java.recordreader=true \
                   -Dhadoop.pipes.java.recordwriter=true \ 
                   -input <inputHDFSPath> \               
                   -output <outputHDFSPath> \
                   -program <cppBinaryHDFSPath>

The error details are here.

Any suggestions on how to fix this would be greatly appreciated. Thanks.

Edit1: Added command used to run.

Edit2: It turns out that the C++ binary wasn’t statically linked. After rectifying that I am now seeing this error.

Edit3: Added hadoop version being used. I have also added relevant portions of the jobtracker logs here. Also, stderr for each of the failed attempts has this:

$more /usr/local/dp/hadoop/userlogs/job_201107211831_0013/\
attempt_201107211831_0013_m_‌​000000_0/stderr 
Hadoop Pipes Exception: Aborted by driver
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:09:39+00:00Added an answer on May 24, 2026 at 11:09 pm

    So I gave it another shot and started from scratch. This time round I had better success. Here is the code and the config files I used.

    Also, here’s the command I used to run the job:

    hadoop pipes -conf path/to/dp_hpt_conf.xml 
                 -input /path/to/input 
                 -output /path/to/output
    

    The input files in the /path/to/input were:

    $hadoop fs -ls /path/to/input
    Found 3 items
    -rw-r--r--   3 dp dpgrp         25 2011-07-26 23:24 /path/to/input/bar
    -rw-r--r--   3 dp dpgrp         87 2011-07-26 23:24 /path/to/input/baz
    -rw-r--r--   3 dp dpgrp         44 2011-07-26 23:24 /path/to/input/foo
    $hadoop fs -get /path/to/input/foo .
    $cat foo 
    The quick brown fox jumps over the lazy dog
    

    And the output was:

    $ hadoop fs -get /path/to/output/part-00000 .
    $ cat part-00000 
    another 3
    be      2
    brown   2
    dog     2
    end     2
    for     2
    fox     2
    input   2
    is      3
    jumps   2
    lazy    2
    of      2
    over    2
    program 2
    quick   2
    sentence        3
    should  2
    test    2
    that    2
    the     5
    this    4
    yet     2
    

    (Apologies for the wonky paths. My actual paths were different – the paths here are just my lazy attempts at anonymizing them.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently trying out db4o (the java version) and I pretty much like what
I'm trying to create a super-simplistic Virtual In / Out Board using wx/Python. I've
I'm trying out log4j in a simple test app. I create a new Java
Am trying out Ruby on Rails in Windows XP using the Hello World example.
Trying out node.js for the first time. Set up node, set up the example
Trying out the examples found on pleac.sf.net , I'm not able to get an
While trying out an experimental UINavigationController-based iPhone application, I ran into a problem when
After trying out VS2010b2 also my VS2008 installation changes the versions of solution and
Just trying out Hibernate (with Annotations) and I'm having problems with my mappings. I
im trying out paypals html api where you specify price, item_name, customer information and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.