Apache9 commented on code in PR #6670:
URL: https://github.com/apache/hbase/pull/6670#discussion_r1948690504
##########
pom.xml:
##########
@@ -4205,6 +4209,32 @@
</dependencyManagement>
</profile>
+ <!-- Override Kerby version for the supported Hadoop 3.3.x versions
Review Comment:
> I have tried to build HBase without the kerby dependencies, but it fails:
>
> > [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(default-testCompile) on project hbase-common: Compilation failure: Compilation
failure:
> > [ERROR]
/home/stoty/workspaces/hbase/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestSimpleKdcServerUtil.java:[27,45]
package org.apache.kerby.kerberos.kerb.server does not exist
> > [ERROR]
/home/stoty/workspaces/hbase/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/util/SimpleKdcServerUtil.java:[27,45]
package org.apache.kerby.kerberos.kerb.server does not exist
> > [ERROR]
/home/stoty/workspaces/hbase/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/util/SimpleKdcServerUtil.java:[52,17]
cannot find symbol
> > [ERROR] symbol: class SimpleKdcServer
> > [ERROR] location: class
org.apache.hadoop.hbase.util.SimpleKdcServerUtil
> > [ERROR]
/home/stoty/workspaces/hbase/hbase/hbase-common/src/test/java/org/apache/hadoop/hbase/util/SimpleKdcServerUtil.java:[63,10]
cannot find symbol
> > [ERROR] symbol: class SimpleKdcServer
> > [ERROR] location: class
org.apache.hadoop.hbase.util.SimpleKdcServerUtil
Ah, this is really a pain, let me try locally too to see what is the problem
here...
For building HBase, since we still need to suppor building with hadoop 3.3.x
on master, we'd better fix the problem in pom, I just mean we do not need to
maintain the transitive dependencies for downstream projects if they want to
specify hadoop version by their own...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]