Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 1.0.1 with TDP 1.1 dependencies #2

Open
PACordonnier opened this issue Nov 15, 2023 · 0 comments
Open

Build 1.0.1 with TDP 1.1 dependencies #2

PACordonnier opened this issue Nov 15, 2023 · 0 comments

Comments

@PACordonnier
Copy link
Member

PACordonnier commented Nov 15, 2023

Relates to TOSIT-IO/TDP#90

I've tried to use the latest release version of the upstream project (1.0.1).

I've encounter two issues:

  1. I've tried to set spark 3.2.4-1.0 as the build dependency. I've not been able to install spark in my classpath, the command provided in TDP only creates the tar.gz but does not install spark in the local repository. I tried to install manually without success, I decided not to investigate further for now (its a small annoyance that require bit more investigation).
  2. I kept the currently set up spark dependency (3.3.2) and tried to build with hadoop TDP 1.1 (3.1.4-1.0) and hbase TDP version (2.1.10-2.0). It means downgrading from hadoop 3.2.4 and from hbase 2.5.4. This cause API changes that breaks the build
[INFO] Apache HBase Connectors ............................ SUCCESS [  0.887 s]
[INFO] Apache HBase - Kafka ............................... SUCCESS [  0.022 s]
[INFO] Apache HBase - Model Objects for Kafka Proxy ....... SUCCESS [  0.976 s]
[INFO] Apache HBase - Kafka Proxy ......................... FAILURE [  6.817 s]
[INFO] Apache HBase - Spark ............................... SUCCESS [  0.015 s]
[INFO] Apache HBase - Spark Protocol ...................... SUCCESS [  0.331 s]
[INFO] Apache HBase - Spark Protocol (Shaded) ............. SUCCESS [  0.101 s]
[INFO] Apache HBase - Spark Connector ..................... FAILURE [  7.796 s]
[INFO] Apache HBase - Spark Integration Tests ............. SKIPPED
[INFO] Apache HBase Connectors - Assembly ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.129 s
[INFO] Finished at: 2023-11-15T17:27:10Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hbase-kafka-proxy: Compilation failure
[ERROR] /tdp/hbase-connectors-fork/kafka/hbase-kafka-proxy/src/main/java/org/apache/hadoop/hbase/kafka/KafkaTableForBridge.java:[71,3] method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.3.0:compile (scala-compile-first) on project hbase-spark: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:4.3.0:compile failed. CompileFailed -> [Help 2]

I think for tdp 1.1 it is not worth upgrading hbase-connectors and will keep hbase-connectors 1.0.0

Current work has been pushed to branch feat-1.0.1-TDP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant