Skip to content

unable to generate the nar file for hudi v15 with pulsar 3.3.0.5 #640

Description

@Pavan792reddy

hi all,
i have added the pom.xml file in the comments .

https://github.com/streamnative/pulsar-io-lakehouse/tree/v3.3.0.5

to generate the build file
mvn -T 3C -e clean package -DskipTests -Pc

[WARNING] /home/pavankumar_reddy/pulsar-io-lakehouse-3.3.0.5/src/main/java/org/apache/pulsar/ecosystem/io/lakehouse/sink/hudi/HoodieWriter.java:[74,37] unchecked call to HoodieAvroRecord(org.apache.hudi.common.model.HoodieKey,T) as a member of the raw type org.apache.hudi.common.model.HoodieAvroRecord
[INFO] 12 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/pavankumar_reddy/pulsar-io-lakehouse-3.3.0.5/src/main/java/org/apache/pulsar/ecosystem/io/lakehouse/sink/hudi/HoodieWriterProvider.java:[47,52] incompatible types: org.apache.hadoop.conf.Configuration cannot be converted to org.apache.hudi.storage.StorageConfiguration [ERROR] /home/pavankumar_reddy/pulsar-io-lakehouse-3.3.0.5/src/main/java/org/apache/pulsar/ecosystem/io/lakehouse/sink/hudi/HoodieWriterProvider.java:[57,24] incompatible types: org.apache.hadoop.conf.Configuration cannot be converted to org.apache.hudi.storage.StorageConfiguration
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.354 s (Wall Clock)
[INFO] Finished at: 2024-07-24T13:51:14Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project pulsar-io-lakehouse: Compilation failure: Compilation failure:
[ERROR] /home/pavankumar_reddy/pulsar-io-lakehouse-3.3.0.5/src/main/java/org/apache/pulsar/ecosystem/io/lakehouse/sink/hudi/HoodieWriterProvider.java:[47,52] incompatible types: org.apache.hadoop.conf.Configuration cannot be converted to org.apache.hudi.storage.StorageConfiguration [ERROR] /home/pavankumar_reddy/pulsar-io-lakehouse-3.3.0.5/src/main/java/org/apache/pulsar/ecosystem/io/lakehouse/sink/hudi/HoodieWriterProvider.java:[57,24] incompatible types: org.apache.hadoop.conf.Configuration cannot be converted to org.apache.hudi.storage.StorageConfiguration
[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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions