Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend custom component not working as expected

We have modified a talend component which writes into avro file in spark job. Version of talend is 7.0.1, The code is modified as expected but while executing the job. the output is not written into files. When we tried with the Talend provided component it works and able to create output files. What am I missing, I compared the code generated by two jobs using custom and native components and it is exactly same(I added feature to choose between the code it can be same as talend specific or custom one with additional feature). I am executing the job by building it and running in spark submit command. I see only dependency for the component is the below line in one of the jet file <%@ include file="@{org.talend.designer.components.mrprovider}/resources/utils/talend_lineage_api.javajet"%> But my questions here. is this the reason for the issue? How to fix it? How is the code generate exactly same as the talend component?

Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hello,

As a prerequisite, we strongly recommend that you read the articles What is a component and Component code generation model to know how a Talend component is structured, and learn about the component code generation order and related technologies.

Best regards

Sabrina

Anonymous
Not applicable
Author

The links are not working, anyway I see this below error in the log file !ENTRY org.talend.platform.logging 4 0 2019-10-04 15:21:38.991 !MESSAGE 2019-10-04 15:21:38,986 ERROR org.talend.commons.exception.CommonExceptionHandler - Failed to deploy artifacts: Could not transfer artifact org.talend.libraries:tFileOutputxxxx_java:xml:6.0.0-20191004.052138-1 from/to talend-custom-libs-snapshot (http://tacxxxx:8081/repository/talend-custom-libs-snapshot/): Detected content type [text/html], but expected [application/xml, text/xml, application/x-xml]: org/talend/libraries/tFileOutputxxxx_java/6.0.0-SNAPSHOT/tFileOutputxxxx_java-6.0.0-20191004.052138-1.xml (400) !STACK 0 org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.talend.libraries:tFileOutputxxxx_java:xml:6.0.0-20191004.052138-1 from/to talend-custom-libs-snapshot (http://tacxxxx:8081/repository/talend-custom-libs-snapshot/): Detected content type [text/html], but expected [application/xml, text/xml, application/x-xml]: org/talend/libraries/tFileOutputxxxx_java/6.0.0-SNAPSHOT/tFileOutputxxxx_java-6.0.0-20191004.052138-1.xml (400)