You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2019/10/31 07:06:00 UTC

[jira] [Created] (FLINK-14581) Support to run Python UDF jobs in a YARN cluster

Dian Fu created FLINK-14581:
-------------------------------

             Summary: Support to run Python UDF jobs in a YARN cluster
                 Key: FLINK-14581
                 URL: https://issues.apache.org/jira/browse/FLINK-14581
             Project: Flink
          Issue Type: Sub-task
          Components: API / Python
            Reporter: Dian Fu
             Fix For: 1.10.0


Currently it will throw the following exception when submit a Python UDF job in YARN cluster:
{code:java}
Caused by: org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.UncheckedExecutionException: java.io.IOException: Cannot run program "null/bin/pyflink-udf-runner.sh": error=2, No such file or directory
  at org.apache.beam.vendor.guava.v26_0_jre.com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4966)
  at org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory$SimpleStageBundleFactory.<init>(DefaultJobBundleFactory.java:211)
  at org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory$SimpleStageBundleFactory.<init>(DefaultJobBundleFactory.java:202)
  at org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory.forStage(DefaultJobBundleFactory.java:185)
  at org.apache.flink.python.AbstractPythonFunctionRunner.open(AbstractPythonFunctionRunner.java:171)
  at org.apache.flink.table.runtime.operators.python.AbstractPythonScalarFunctionOperator$ProjectUdfInputPythonScalarFunctionRunner.open(AbstractPythonScalarFunctionOperator.java:177)
  at org.apache.flink.streaming.api.operators.python.AbstractPythonFunctionOperator.open(AbstractPythonFunctionOperator.java:114)
  at org.apache.flink.table.runtime.operators.python.AbstractPythonScalarFunctionOperator.open(AbstractPythonScalarFunctionOperator.java:137)
  at org.apache.flink.table.runtime.operators.python.PythonScalarFunctionOperator.open(PythonScalarFunctionOperator.java:70)
  at org.apache.flink.streaming.runtime.tasks.StreamTask.openAllOperators(StreamTask.java:565)
  at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:412)
  at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:696)
  at org.apache.flink.runtime.taskmanager.Task.run(Task.java:521)
  ... 1 more
{code}

The reason is that pyflink-udf-runner.sh is not submitted and is not available for the operator.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)