Oozie 安装:执行 javac 失败,但无法解析错误

时间:2021-01-12 08:08:42

标签: maven javac oozie

我正在我的 Macbook 上安装 Oozie。

第一次运行 ./bin/mkdistro.sh 脚本后,

<块引用>

错误:不再支持源选项 6。使用 7 或更高版本。

发生了。

所以,我用

修改了 pom.xml 文件
1649                 <groupId>org.apache.maven.plugins</groupId>
1650                 <artifactId>maven-compiler-plugin</artifactId>
1651                 <configuration>
1652                     <source>1.7</source>  // Modifying here!! 1.6 to 1.7
1653                     <target>${targetJavaVersion}</target>
1654                 </configuration>
1655             </plugin>
1656             <plugin>

修改后,我再次运行,再次出错。

...
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Oozie Main 4.2.0 ............................ SUCCESS [  1.942 s]
[INFO] Apache Oozie Hadoop Utils hadoop-1-4.2.0 ........... FAILURE [  0.325 s]
[INFO] Apache Oozie Hadoop Distcp hadoop-1-4.2.0 hadoop-1-4.2.0 SKIPPED
[INFO] Apache Oozie Hadoop Auth hadoop-1-4.2.0 hadoop-1-4.2.0 SKIPPED
[INFO] Apache Oozie Hadoop Libs 4.2.0 ..................... SKIPPED
[INFO] Apache Oozie Client 4.2.0 .......................... SKIPPED
[INFO] Apache Oozie Share Lib Oozie 4.2.0 ................. SKIPPED
[INFO] Apache Oozie Share Lib HCatalog 4.2.0 .............. SKIPPED
[INFO] Apache Oozie Share Lib Distcp 4.2.0 ................ SKIPPED
[INFO] Apache Oozie Core 4.2.0 ............................ SKIPPED
[INFO] Apache Oozie Share Lib Streaming 4.2.0 ............. SKIPPED
[INFO] Apache Oozie Share Lib Pig 4.2.0 ................... SKIPPED
[INFO] Apache Oozie Share Lib Hive 4.2.0 .................. SKIPPED
[INFO] Apache Oozie Share Lib Hive 2 4.2.0 ................ SKIPPED
[INFO] Apache Oozie Share Lib Sqoop 4.2.0 ................. SKIPPED
[INFO] Apache Oozie Examples 4.2.0 ........................ SKIPPED
[INFO] Apache Oozie Share Lib Spark 4.2.0 ................. SKIPPED
[INFO] Apache Oozie Share Lib 4.2.0 ....................... SKIPPED
[INFO] Apache Oozie Docs 4.2.0 ............................ SKIPPED
[INFO] Apache Oozie WebApp 4.2.0 .......................... SKIPPED
[INFO] Apache Oozie Tools 4.2.0 ........................... SKIPPED
[INFO] Apache Oozie MiniOozie 4.2.0 ....................... SKIPPED
[INFO] Apache Oozie Distro 4.2.0 .......................... SKIPPED
[INFO] Apache Oozie ZooKeeper Security Tests 4.2.0 ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.958 s
[INFO] Finished at: 2021-01-12T17:04:37+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oozie-hadoop-utils: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR]
[ERROR]
[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 <args> -rf :oozie-hadoop-utils

ERROR, Oozie distro creation failed

日志没有给我提示。

可能有什么问题?

0 个答案:

没有答案