[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2020-07-12 Thread Vishal Donderia (Jira)


[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156510#comment-17156510
 ] 

Vishal Donderia commented on OOZIE-3219:


Not able to compile using below command: version oozie-5.2.0

 mvn clean install -Phadoop-3 -DskipTests -Dhadoop.version=3.1.0 -X 


{code}

[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] 
/Users/vishal/Documents/Softwares/BigData/oozie-5.2.0/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
/Users/vishal/Documents/Softwares/BigData/oozie-5.2.0/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

 


{code}

> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPE

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2019-04-03 Thread Andras Salamon (JIRA)


[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808641#comment-16808641
 ] 

Andras Salamon commented on OOZIE-3219:
---

Just a side note: We also need {{-Phadoop-3}} to compile with hadoop 3.1.0

> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPED
> [INFO] Apache Oozie Tools . SKIPPED
> [INFO] Apache Oozie MiniOozie . SKIPPED
> [INFO] Apache Oozie Server  SKIPPED
> [INFO] Apache Oozie Distro  SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:28 min
> [INFO] Finished at: 2018-04-13T14:03:17Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> [ERROR] symbol: variable Strings
> [ERROR] location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [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 e

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2018-05-15 Thread Andras Piros (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475581#comment-16475581
 ] 

Andras Piros commented on OOZIE-3219:
-

Committed to {{master}}.

> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPED
> [INFO] Apache Oozie Tools . SKIPPED
> [INFO] Apache Oozie MiniOozie . SKIPPED
> [INFO] Apache Oozie Server  SKIPPED
> [INFO] Apache Oozie Distro  SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:28 min
> [INFO] Finished at: 2018-04-13T14:03:17Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> [ERROR] symbol: variable Strings
> [ERROR] location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [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 follow

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2018-05-08 Thread Peter Cseh (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467458#comment-16467458
 ] 

Peter Cseh commented on OOZIE-3219:
---

+1

> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPED
> [INFO] Apache Oozie Tools . SKIPPED
> [INFO] Apache Oozie MiniOozie . SKIPPED
> [INFO] Apache Oozie Server  SKIPPED
> [INFO] Apache Oozie Distro  SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:28 min
> [INFO] Finished at: 2018-04-13T14:03:17Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> [ERROR] symbol: variable Strings
> [ERROR] location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [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] [H

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2018-05-07 Thread Andras Piros (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465821#comment-16465821
 ] 

Andras Piros commented on OOZIE-3219:
-

Failing test seems unrelated. [~gezapeti] can you pls. review? Thanks!

> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPED
> [INFO] Apache Oozie Tools . SKIPPED
> [INFO] Apache Oozie MiniOozie . SKIPPED
> [INFO] Apache Oozie Server  SKIPPED
> [INFO] Apache Oozie Distro  SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:28 min
> [INFO] Finished at: 2018-04-13T14:03:17Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> [ERROR] symbol: variable Strings
> [ERROR] location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [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

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2018-05-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465820#comment-16465820
 ] 

Hadoop QA commented on OOZIE-3219:
--


Testing JIRA OOZIE-3219

Cleaning local git workspace



{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-1 RAW_PATCH_ANALYSIS{color}
.{color:green}+1{color} the patch does not introduce any @author tags
.{color:green}+1{color} the patch does not introduce any tabs
.{color:green}+1{color} the patch does not introduce any trailing spaces
.{color:green}+1{color} the patch does not introduce any line longer than 
132
.{color:red}-1{color} the patch does not add/modify any testcase
{color:green}+1 RAT{color}
.{color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.{color:green}+1{color} HEAD compiles
.{color:green}+1{color} patch compiles
.{color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1{color} There are no new bugs found in total.
. {color:green}+1{color} There are no new bugs found in [webapp].
. {color:green}+1{color} There are no new bugs found in [core].
. {color:green}+1{color} There are no new bugs found in [tools].
. {color:green}+1{color} There are no new bugs found in [sharelib/hive2].
. {color:green}+1{color} There are no new bugs found in [sharelib/distcp].
. {color:green}+1{color} There are no new bugs found in [sharelib/hcatalog].
. {color:green}+1{color} There are no new bugs found in [sharelib/streaming].
. {color:green}+1{color} There are no new bugs found in [sharelib/sqoop].
. {color:green}+1{color} There are no new bugs found in [sharelib/oozie].
. {color:green}+1{color} There are no new bugs found in [sharelib/pig].
. {color:green}+1{color} There are no new bugs found in [sharelib/hive].
. {color:green}+1{color} There are no new bugs found in [sharelib/spark].
. {color:green}+1{color} There are no new bugs found in [client].
. {color:green}+1{color} There are no new bugs found in [examples].
. {color:green}+1{color} There are no new bugs found in [docs].
. {color:green}+1{color} There are no new bugs found in [server].
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.{color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.Tests run: 2129
.Tests failed: 1
.Tests errors: 0

.The patch failed the following testcases:

testHiveAction(org.apache.oozie.action.hadoop.TestHiveActionExecutor)

.Tests failing with errors:


.{color:orange}Tests failed at first run:{color}
TestJavaActionExecutor#testCredentialsSkip
TestCoordActionsKillXCommand#testActionKillCommandActionNumbers
TestZKUUIDService#testResetSequence_withMultiThread
TestOozieDBCLI#testOozieDBCLI
.For the complete list of flaky tests, see TEST-SUMMARY-FULL files.
{color:green}+1 DISTRO{color}
.{color:green}+1{color} distro tarball builds with the patch 


{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

. https://builds.apache.org/job/PreCommit-OOZIE-Build/518/



> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apach

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2018-05-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465727#comment-16465727
 ] 

Hadoop QA commented on OOZIE-3219:
--

PreCommit-OOZIE-Build started


> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPED
> [INFO] Apache Oozie Tools . SKIPPED
> [INFO] Apache Oozie MiniOozie . SKIPPED
> [INFO] Apache Oozie Server  SKIPPED
> [INFO] Apache Oozie Distro  SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:28 min
> [INFO] Finished at: 2018-04-13T14:03:17Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> [ERROR] symbol: variable Strings
> [ERROR] location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [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 follow

[jira] [Commented] (OOZIE-3219) Cannot compile with hadoop 3.1.0

2018-05-07 Thread Andras Piros (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465722#comment-16465722
 ] 

Andras Piros commented on OOZIE-3219:
-

[~gezapeti] [~dbist13] with the latest patch, Oozie can compile using 
{{hadoop.version=2.6.0}} and {{hadoop.version=3.1.0}}.

> Cannot compile with hadoop 3.1.0
> 
>
> Key: OOZIE-3219
> URL: https://issues.apache.org/jira/browse/OOZIE-3219
> Project: Oozie
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.0.0
> Environment: {code:java}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 
> 2018-02-24T19:49:05Z)
> Maven home: /opt/maven/apache-maven-3.5.3
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}
> latest 5.0 release bits
>Reporter: Artem Ervits
>Assignee: Artem Ervits
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3219.00.patch, OOZIE-3219.002.patch
>
>
> command failure on the following, same happens with 3.0.0. Issue does not 
> appear with < 3.0
> {code:java}
> mvn clean install -DskipTests -Dhadoop.version=3.1.0{code}
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> symbol: variable Strings
> location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oozie Main 5.0.0  SUCCESS [ 3.768 s]
> [INFO] Apache Oozie Client  SUCCESS [ 30.924 
> s]
> [INFO] Apache Oozie Share Lib Oozie ... SUCCESS [ 20.904 
> s]
> [INFO] Apache Oozie Share Lib HCatalog  SUCCESS [ 9.150 s]
> [INFO] Apache Oozie Share Lib Distcp .. SUCCESS [ 7.938 s]
> [INFO] Apache Oozie Core .. FAILURE [ 13.929 
> s]
> [INFO] Apache Oozie Share Lib Streaming ... SKIPPED
> [INFO] Apache Oozie Share Lib Pig . SKIPPED
> [INFO] Apache Oozie Share Lib Hive  SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 .. SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ... SKIPPED
> [INFO] Apache Oozie Examples .. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ... SKIPPED
> [INFO] Apache Oozie Share Lib . SKIPPED
> [INFO] Apache Oozie Docs .. SKIPPED
> [INFO] Apache Oozie WebApp  SKIPPED
> [INFO] Apache Oozie Tools . SKIPPED
> [INFO] Apache Oozie MiniOozie . SKIPPED
> [INFO] Apache Oozie Server  SKIPPED
> [INFO] Apache Oozie Distro  SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:28 min
> [INFO] Finished at: 2018-04-13T14:03:17Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37]
>  package org.apache.directory.api.util does not exist
> [ERROR] 
> /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41]
>  cannot find symbol
> [ERROR] symbol: variable Strings
> [ERROR] location: class 
> org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
> [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.
> [ERR