use command ”mvn package -Pdist,native -DskipTests -Dtar“ to compile hadoop, it have errors as below:
[ERROR] /home/hadoop-common/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/util/SwiftTestUtils.java:[41,7] cannot access org.hamcrest.Matcher
class file for org.hamcrest.Matcher not found
- is duplicated by
HADOOP-10932 compile error on project "Apache Hadoop OpenStack support"