November 2017
Beginner to intermediate
290 pages
7h 34m
English
Package the example application by running mvn package -DskipTests in the wordcount subdirectory of the apex-samples directory. This will create the .apa application package in the target directory:
/workspace/apex-samples/wordcount/target/wordcount-1.0-SNAPSHOT.apa
Prepare some input data:
apex@7bd66492cedc:~$ wget https://raw.githubusercontent.com/apache/apex-core/master/LICENSE apex@7bd66492cedc:~$ hdfs dfs -mkdir /tmp/wordcount apex@7bd66492cedc:~$ hdfs dfs -put LICENSE /tmp/wordcount/LICENCE
Set up configuration for input and output (src/test/resources/properties-sandbox.xml):
<?xml version="1.0"?> <configuration> <property> <name>apex.application.*.operator.*.attr.MEMORY_MB</name> <value>256</value> </property> ...
Read now
Unlock full access