Skip to content
New issue

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

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

Already on GitHub? # to your account

"Error occurred in the launcher container: Template launch failed. See console logs." #16

Open
kgrynko opened this issue Dec 22, 2021 · 2 comments

Comments

@kgrynko
Copy link

kgrynko commented Dec 22, 2021

Hi all!

I get an error when trying to run this piece of code in Cloud Shell:

gcloud beta dataflow flex-template run "video-object-tracking" \
--project=${PROJECT} \
--region=${REGION} \
--template-file-gcs-location=gs://${DATAFLOW_TEMPLATE_BUCKET}/dynamic_template_video_analytics.json \
--parameters=<<'EOF'
^~^autoscalingAlgorithm="NONE"~numWorkers=5~maxNumWorkers=5~workerMachineType=n1-highmem-4
  ~inputNotificationSubscription=projects/${PROJECT}/subscriptions/${GCS_NOTIFICATION_SUBSCRIPTION}
  ~outputTopic=projects/${PROJECT}/topics/${OBJECT_DETECTION_TOPIC}
  ~errorTopic=projects/${PROJECT}/topics/${ERROR_TOPIC}
  ~features=OBJECT_TRACKING~entities=window,person~confidenceThreshold=0.9~windowInterval=1
  ~tableReference=${PROJECT}:${BIGQUERY_DATASET}.object_tracking_analysis
  ~streaming=true
EOF

The error in Dataflow:

Error occurred in the launcher container: Template launch failed. See console logs

The error in console logs:
"message":"java failed with exit status 1"

Any ideas where t come from?

Thank you!

@slilichenko
Copy link
Contributor

Dataflow logs should have a line like this:
Console log from launcher will be available at gs://<your temp gcs storage bucket>/tmp/template_launches/2021-12-16_09_02_11-1572174414494443259/console_logs.
That should be the output of the launcher process which runs main() of the pipeline and should have at least the stack trace. is there anything of interest in that log?

@kgrynko
Copy link
Author

kgrynko commented Dec 22, 2021

Yes, this message :
"message":"java failed with exit status 1"

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

No branches or pull requests

2 participants