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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
hzhen
Contributor III
Contributor III

Running talend in beam

I tried to run talend in the beam, referring to the official example, but the operation is abnormal. I don't know where there is a problem at present, please give me some advice.

Thank you.

Below is my running program and official link.

Talend Link :https://talend.github.io/component-runtime/main/1.29.0/services-pipeline.html# _inputs_and_outputs

Beam Pipeline

-------------------------------------------------------------

0693p00000BYaJrAAL.png---------------------------------------------------

build.gradle's execute

------------------------------------------

0693p00000BYaJwAAL.png------------------------------------------

error msg:

------------------------------------------

19:07:10: Executing task 'execute'...

> Task :compileJava UP-TO-DATE

> Task :processResources UP-TO-DATE

> Task :classes

> Task :execute FAILED

4 actionable tasks: 2 executed, 2 up-to-date

Exception in thread "main" java.util.NoSuchElementException: No value present

at java.base/java.util.Optional.get(Optional.java:148)

at com.nec.demo.talend.component.beam.BeamRun.main(BeamRun.java:36)

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':execute'.

> Process 'command '/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

19:07:12: Task execution finished 'execute'.

-----------------------------------------------

Labels (4)
1 Reply
undx
Creator
Creator

Hi @han zhen​ ,

A few questions :

  • is your connector a full component-runtime component?
  • Does your connector work with a simple test pipeline ( https://talend.github.io/component-runtime/main/1.29.0/services-pipeline.html#_job_builder ) ?
  • Could you join the full stack trace with a log level set to debug?

Thanks a lot

 

br.