Hadoop-Inline-ClassLoader
view release on metacpan or search on metacpan
eg/seq-read.pl view on Meta::CPAN
#!/usr/local/bin/booking-perl
use 5.014;
use strict;
use warnings;
use FindBin qw( $Bin );
use lib "$Bin/lib";
use SequenceFileReader;
my $uri;
# change the protocol to tell which streaming lib to use
#$uri = 'file:///some/local/path/tmp/000000_0';
$uri = 'hdfs:///tmp/000000_0';
# or get it from the command line
$uri = shift || die 'No uri specified!';
SequenceFileReader->new->read_file( $uri );
( run in 0.958 second using v1.01-cache-2.11-cpan-140bd7fdf52 )