You will need a classifier to include it in your maven project:
<dependency> <groupId>org.apache.mrunit</groupId> <artifactId>mrunit</artifactId> <version>1.0.0</version> <classifier>hadoop2</classifier> <scope>test</scope> </dependency>
<dependency> <groupId>org.apache.mrunit</groupId> <artifactId>mrunit</artifactId> <version>1.0.0</version> <classifier>hadoop2</classifier> <scope>test</scope> </dependency>
DateTimeUtils.setCurrentMillisFixed(new DateTime(2013, 3, 2, 0, 0).getMillis());
-vm /path/to/java/homeThe linebreak after -vm matters! To find out the path to java home run
/usr/libexec/java_home or /usr/libexec/java_home -v 1.7
wget https://github.com/flexiondotorg/oab-java6/raw/0.3.0/oab-java.sh -O oab-java.sh chmod +x oab-java.sh sudo ./oab-java.sh sudo apt-get install sun-java6-jdk