[
https://issues.apache.org/jira/browse/KNOX-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108228#comment-17108228
]
Larry McCay commented on KNOX-2372:
-----------------------------------
[~stephbat] - are you saying that you changed the version of the hadoop
dependency to 2.7.4 and expect it to build with no issues?
Why would you need to do that?
Keep in mind that our dependency on hadoop is for internal use of things from
hadoop such as Configuration and the Hadoop Auth Module for kerberos support.
It has nothing to do with the compatibility between the gateway and the
services that it dispatches to.
I don't believe that this is something worth pursuing.
> Build src knox 1.4.0 with hadoop 2.7.4 failed
> ---------------------------------------------
>
> Key: KNOX-2372
> URL: https://issues.apache.org/jira/browse/KNOX-2372
> Project: Apache Knox
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.4.0
> Reporter: stephbat
> Priority: Major
>
> I tried to build the project Apache Knox 1.4.0 with hadoop 2.7.4
> I did the build on a Ubuntu server :
> * Ubtuntu 18.04
> * Openjdk version "11.0.7"
> * Apache Maven 3.6.0
> * Apache Ant(TM) version 1.10.5
> I have downloaded the src archive on
> [http://www.apache.org/dyn/closer.cgi/knox/1.4.0/knox-1.4.0-src.zip]
> I get the following issue :
> {code:java}
> root@opbigechknox03:/var/compil/knox/knox-1.4.0#
> mvn -Panalyze -Prelease clean install -DskipTests
> [WARNING]
> Dependency convergence error for
> org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15 paths to
> dependency are:
> +-org.apache.knox:gateway-server:1.4.0
> +-org.apache.hadoop:hadoop-auth:2.7.4
> +-org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15
> [WARNING]
> Dependency convergence error for
> org.apache.directory.api:api-asn1-api:1.0.0-M20 paths to dependency are:
> +-org.apache.knox:gateway-server:1.4.0
> +-org.apache.hadoop:hadoop-auth:2.7.4
> +-org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15
> +-org.apache.directory.api:api-asn1-api:1.0.0-M20
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:30 min
> [INFO] Finished at: 2020-05-14T11:20:57+02:00
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The requested profile "analyze" could not be activated because it
> does not exist.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce
> (enforce-dependencies) on project gateway-server: Some Enforcer rules have
> failed. Look above for specific messages explaining why the rule failed. ->
> [Help 1]
> {code}
> Could you help me to fix this issue ?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)