Functions

Summary

function

class parent

truncated documentation

_setup_hook

if this function is added to the module, the help automation and unit tests call it first before anything goes on …

check

Checks the library is working. It raises an exception.

download_jar_from_maven

download a jar file from maven

download_java_standalone

download the standalone jython if it does not exists, we should version JYTHON_VERSION by default in order to …

download_pig_standalone

Downloads the standalone :epkg:`jython`. If it does not exists, we should version HADOOP_VERSION by default …

get_hadoop_jars

Returns the list of jars to include into the command line in order to run :epkg:`HADOOP`.

get_hadoop_path

This function assumes a folder pig hadoopjar is present in this directory, the function returns the folder.

get_java_cmd

return the java path

get_java_path

returns the java path :raises FileNotFoundError: if java is not found

get_jython_jar

This function assumes a file jython-standalone-x.x.x.jar is present in this directory, the function returns the …

get_pig_jars

Returns the list of jars to include into the command line in order to run :epkg:`PIG`.

get_pig_path

This function assumes a folder pig pigjar is present in this directory, the function returns the folder

is_java_installed

Checks if :epkg:`java` is installed.

load_ipython_extension

to allow the call %load_ext pyenbc

register_azure_magics

register magics function, can be called from a notebook

register_magics_ssh

register magics function, can be called from a notebook

run_jython

runs a jython script and returns the standard output and error

run_pig

Runs a :epkg:`pig` script and returns the standard output and error.