Я пытаюсь установить hadoop на окна, это так хлопотно до сих пор.build hadoop 2.2 на окнах
здесь ошибка я постоянно получаю
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on project hadoop-common: Command execution failed. Cannot run program "msbuild" (in directory "C:\hdfs\hadoop-common-project\hadoop-common"): CreateProcess error=2, The system cannot find the file specified -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-common
У меня есть msbuild.exe, окна sdk7.1, cygwin64, maven3.0.5, jdk7 все настройки в среде на моих окнах 7 x64 коробки.
Это hadoop 2.2.0 src, который я загрузил с сайта apache.
под системной среде, я поставил
C:\Windows\Microsoft.NET\Framework64\v4.0.30319
это путь к MSBuild, но по-прежнему не работает, кто-нибудь знает, как это исправить?
благодаря
обновление: Я изменил pom.xml на Hadoop-общего проекта \ Hadoop-общий немного от
<executable>msbuild</executable>
в
<executable>msbuild.exe</executable>
Теперь я получение следующей ошибки
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on project hadoop-common: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-common
Эй, вы смогли решить проблему? как? –
Как вы решили эту проблему? Пожалуйста, поделитесь – Rebecca