Hadoop::Inline::ClassLoader
version 0.001
use Hadoop::Inline::ClassLoader qw( org.apache.hadoop.conf.Configuration ); use Hadoop::Inline::ClassLoader \%options, @java_classes;
Hadoop Java class loader through Inline::Java. This module tries to setup the environment needed for tha Hadoop classes and also has aut-study feature and shart name aliasing for Perl packages name mappings.
Hadoop::Inline::ClassLoader - Hadoop Java class loader through Inline::Java
You can specify a hashref with the optional options to override some functionality.
Setting options hash yourself will disable most defaults, so if you set one of them, then you may need to specify the rest if you need those to be present.
Boolean. Enable or disable short name aliasing. Enabled by default.
By default the environment and definitions will be in the caller namespace which can be altered by this option. Normally you won't need this but can be useful if you'd like to wrap this module.
Hadoop configuration might be missing some classpaths and it you need to include them them this option can be used. It need to be an arrayref.
The full path to the hadoop commandline which will be used to probe the hadoop classpaths and other options to be used by this module.
You need to define a list of java classes to be loaded by this module. they will be auto-studied and made available to your program.
Burak Gursoy <burak@cpan.org>
This software is copyright (c) 2017 by Burak Gursoy.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Hadoop::Inline::ClassLoader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hadoop::Inline::ClassLoader
CPAN shell
perl -MCPAN -e shell install Hadoop::Inline::ClassLoader
For more information on module installation, please visit the detailed CPAN module installation guide.