Error: Project build #8

Closed
giangdoan opened this Issue May 4, 2013 · 2 comments

Projects

None yet

3 participants

@giangdoan

I try to build the source with command:
% mvn package -DskipTests -Dhadoop.version=1.1.1

And got this error:

/usr/local/maven/hadoop-book-master/common/src/main/java/oldapi/NcdcStationMetadataParser.java:[5,7] error: error while writing NcdcStationMetadataParser: could not create parent directories

Would you please show me how to fix this error? Thank you.

@aironm
aironm commented Jul 1, 2013

Use mvn package -DskipTests -Dhadoop.version=1.1.2

@tomwhite
Owner

The build would only work with particular versions of Hadoop, and would fail in hard-to-diagnose ways if you specified a version that wasn't hardcoded in the hadoop-meta/pom.xml file. This has now been made much more flexible in #14, so you can specify any version of Hadoop without having to edit hadoop-meta/pom.xml.

I'll close this issue now, but please reopen or file a new one if you encounter more problems.

@tomwhite tomwhite closed this Jan 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment