I am establishing on an Amazon cluster the said module and basing my attempt on the literature in http://search.cpan.org/~spazm/Hadoop-Streaming-0.110030/lib/Hadoop/Streaming.pm specifically

This question is based on

local::lib * install all modules into a local::lib controlled directory, push + this directory to all of the hadoop cluster boxes (rsync, app instal +ler, nfs mount ), explicitly include this directory in a use lib or u +se local::lib line in your mapper/reducer/combiner files.

My objective is simple. Install all modules into a local::lib.

Tar up the directory and use a bootstrap script to copy over to each data node on Elastic Map Reduce ( amazon ) cluster.

Untar and use the use lib or use local::lib to use these modules in my Mapper/Reducer etc.

What I am against is that when I untar and try using the modules, I have an unsattified link error

Can't locate loadable object for module Sub::Name in @INC...

I can get to the pm file but a shared object needed by Name.pm is missing.

This of of course points to a missing shared object and is pbly b’coz of the fact that I copied the local::lib controlled directory, rather than installing as one would normally do if working standalone.

I was wondering how did you folks get this to work. ( You guys obviously have this working as else that would not be one of the alternatives you suggested )

In reply to Re^4: Hadoop and perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.