[ 
https://issues.apache.org/jira/browse/OOZIE-3665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andras Salamon resolved OOZIE-3665.
-----------------------------------
    Resolution: Duplicate

This is the duplicate of OOZIE-3621

> Build  Failed Oozie 5.2.1 with Hadoop 3.3.3
> -------------------------------------------
>
>                 Key: OOZIE-3665
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3665
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 5.2.1
>         Environment: Ubuntu 20.04
> JAVA 11
> Hadoop 3.3.3
> Apache Maven 3.8.6
> Oozie 5.2.1
>            Reporter: Serhii
>            Priority: Major
>
> I tried to build Oozie 5.2.1 with Hadoop 3.3.3 but got Error
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] 
> /usr/local/oozie/tools/src/test/java/org/apache/oozie/tools/TestECPolicyDisabler.java:[50,71]
>  getErasureCodingPolicy(org.apache.hadoop.fs.Path) in 
> org.apache.oozie.tools.TestECPolicyDisabler.MockDistributedFileSystem cannot 
> override getErasureCodingPolicy(org.apache.hadoop.fs.Path) in 
> org.apache.hadoop.hdfs.DistributedFileSystem
>   return type 
> org.apache.hadoop.hdfs.protocol.SystemErasureCodingPolicies.ReplicationPolicy 
> is not compatible with org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Oozie Main 5.2.1:
> [INFO]
> [INFO] Apache Oozie Main .................................. SUCCESS [  0.812 
> s]
> [INFO] Apache Oozie Fluent Job ............................ SUCCESS [  0.036 
> s]
> [INFO] Apache Oozie Fluent Job API ........................ SUCCESS [  5.563 
> s]
> [INFO] Apache Oozie Client ................................ SUCCESS [  3.443 
> s]
> [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [  1.952 
> s]
> [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [  1.294 
> s]
> [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [  0.369 
> s]
> [INFO] Apache Oozie Core .................................. SUCCESS [ 12.242 
> s]
> [INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [  1.769 
> s]
> [INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [  2.269 
> s]
> [INFO] Apache Oozie Share Lib Git ......................... SUCCESS [  3.740 
> s]
> [INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [  3.817 
> s]
> [INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [  2.532 
> s]
> [INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [  1.970 
> s]
> [INFO] Apache Oozie Examples .............................. SUCCESS [  1.705 
> s]
> [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [  3.319 
> s]
> [INFO] Apache Oozie Share Lib ............................. SUCCESS [ 12.429 
> s]
> [INFO] Apache Oozie Docs .................................. SUCCESS [  0.227 
> s]
> [INFO] Apache Oozie WebApp ................................ SUCCESS [  4.334 
> s]
> [INFO] Apache Oozie Tools ................................. FAILURE [  1.182 
> s]
> [INFO] Apache Oozie MiniOozie ............................. SKIPPED
> [INFO] Apache Oozie Fluent Job Client ..................... SKIPPED
> [INFO] Apache Oozie Server ................................ SKIPPED
> [INFO] Apache Oozie Distro ................................ SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  01:05 min
> [INFO] Finished at: 2022-07-01T10:57:50Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile 
> (default-testCompile) on project oozie-tools: Compilation failure
> [ERROR] 
> /usr/local/oozie/tools/src/test/java/org/apache/oozie/tools/TestECPolicyDisabler.java:[50,71]
>  getErasureCodingPolicy(org.apache.hadoop.fs.Path) in 
> org.apache.oozie.tools.TestECPolicyDisabler.MockDistributedFileSystem cannot 
> override getErasureCodingPolicy(org.apache.hadoop.fs.Path) in 
> org.apache.hadoop.hdfs.DistributedFileSystem
> [ERROR]   return type 
> org.apache.hadoop.hdfs.protocol.SystemErasureCodingPolicies.ReplicationPolicy 
> is not compatible with org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy
> [ERROR]
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile 
> (default-testCompile) on project oozie-tools: Compilation failure
> /usr/local/oozie/tools/src/test/java/org/apache/oozie/tools/TestECPolicyDisabler.java:[50,71]
>  getErasureCodingPolicy(org.apache.hadoop.fs.Path) in 
> org.apache.oozie.tools.TestECPolicyDisabler.MockDistributedFileSystem cannot 
> override getErasureCodingPolicy(org.apache.hadoop.fs.Path) in 
> org.apache.hadoop.hdfs.DistributedFileSystem
>   return type 
> org.apache.hadoop.hdfs.protocol.SystemErasureCodingPolicies.ReplicationPolicy 
> is not compatible with org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to