Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building and Running the Code 2 #27

Open
jonecir opened this issue Jan 29, 2016 · 3 comments
Open

Building and Running the Code 2 #27

jonecir opened this issue Jan 29, 2016 · 3 comments

Comments

@jonecir
Copy link

jonecir commented Jan 29, 2016

I'm getting the following compilation errors trying to build the book's project code.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project common: Compilation failure
[ERROR] /home/hadoop-book-master/common/src/main/java/oldapi/NcdcStationMetadata.java:[7,8] error while writing oldapi.NcdcStationMetadata: could not create parent directories
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :common

Please let me know how to fix it.

Thanks

@dbolshak
Copy link

dbolshak commented Feb 1, 2016

Looks like you don't have permissions or maybe lack of disk space.
29 Янв 2016 г. 17:40 пользователь "Jonecir Souza" [email protected]
написал:

I'm getting the following compilation errors trying to build the book's
project code

[ERROR] Failed to execute goal
orgapachemavenplugins:maven-compiler-plugin:31:compile (default-compile) on
project common: Compilation failure
[ERROR]
/home/hadoop-book-master/common/src/main/java/oldapi/NcdcStationMetadatajava:[7,8]
error while writing oldapiNcdcStationMetadata: could not create parent
directories
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch
[ERROR] Re-run Maven using the -X switch to enable full debug logging
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwikiapacheorg/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn -rf :common

Please let me know how to fix it

Thanks


Reply to this email directly or view it on GitHub
#27.

@jonecir
Copy link
Author

jonecir commented Feb 1, 2016

Hi, thanks for your help.

I'm sure the issue is not related to disk space as I still have over 80GB of free space :-)

As for not having permissions, do you have an idea which folder (or file) I should chmod the proper permissions?

Thanks in advance.

@jonecir
Copy link
Author

jonecir commented Feb 1, 2016

For you information, I chmod the "hadoop-book-master" folder and all its sub-folders to 777 and I'm still getting the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants