Burak Gürsoy

NAME

Hadoop::Inline::ClassLoader

VERSION

version 0.001

SYNOPSIS

    use Hadoop::Inline::ClassLoader qw( org.apache.hadoop.conf.Configuration );
    use Hadoop::Inline::ClassLoader \%options, @java_classes;

DESCRIPTION

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.

NAME

Hadoop::Inline::ClassLoader - Hadoop Java class loader through Inline::Java

IMPORT ARGUMENTS

Options

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.

alias

Boolean. Enable or disable short name aliasing. Enabled by default.

export_to

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.

extra_classpath

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.

hadoop_command

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.

Java Classes

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.

AUTHOR

Burak Gursoy <burak@cpan.org>

COPYRIGHT AND LICENSE

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.