Skip to content

Instantly share code, notes, and snippets.

@keyki
keyki / hadoop_tests
Created May 20, 2015 15:13
hadoop_tests
#!/bin/bash
##################################################################################################################
# dfsio writes to the local file system, so the hdfs user should have permission to write to the actual dir
##################################################################################################################
export HADOOP_LIBS=/usr/hdp/current/hadoop-mapreduce-client
export JAR_EXAMPLES=$HADOOP_LIBS/hadoop-mapreduce-examples.jar
export JAR_JOBCLIENT=$HADOOP_LIBS/hadoop-mapreduce-client-jobclient.jar