<commit_before>
COMMON_JARS=lib/log4j-1.2.15.jar:lib/h2o.jar

# Hadoop 1 (CDH3)
HADOOP_JARS=lib/hadoop-0.20.2-core.jar

# Hadoop 2 (CDH4) (classic MapReduce, not YARN)
# HADOOP_JARS=hadoop-2.0.5-alpha/share/hadoop/common/hadoop-common-2.0.5-alpha.jar:hadoop-2.0.5-alpha/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.0.5-alpha.jar:hadoop-2.0.5-alpha/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.0.5-alpha.jar

build: clean
	mkdir classes
	javac -sourcepath src/main/java -classpath $(COMMON_JARS):$(HADOOP_JARS) -d classes src/main/java/water/hadoop/*.java
	mkdir target
	jar cf target/H2ODriver.jar -C classes .

clean:
	rm -fr classes target
<commit_msg>Now point to jars from main H2O lib dir.<commit_after>
COMMON_JARS=lib/log4j-1.2.15.jar:lib/h2o.jar

CDH3_JAR_DIR=../lib/hadoop/cdh3
CDH3_JARS=$(CDH3_JAR_DIR)/hadoop-core-0.20.2-cdh3u6.jar

CDH4_JAR_DIR=../lib/hadoop/cdh4
CDH4_JARS=$(CDH4_JAR_DIR)/hadoop-common.jar:$(CDH4_JAR_DIR)/hadoop-mapreduce-client-core-2.0.0-cdh4.2.0.jar

HADOOP_JARS=$(CDH4_JARS)

build: clean
	mkdir classes
	javac -sourcepath src/main/java -classpath $(COMMON_JARS):$(HADOOP_JARS) -d classes src/main/java/water/hadoop/*.java
	mkdir target
	jar cf target/H2ODriver.jar -C classes .

clean:
	rm -fr classes target

{'fraction_non_alphanumeric': 0.15177865612648223, 'fraction_numerical': 0.04980237154150197, 'mean_word_length': 4.456896551724138, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6910358', 'n_tokens_mistral': 595, 'n_tokens_neox': 567, 'n_words': 77}