You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xiemeilong (Jira)" <ji...@apache.org> on 2020/05/15 01:22:00 UTC

[jira] [Created] (FLINK-17708) ScalarFunction has different classloader after submit task jar to cluster。

xiemeilong created FLINK-17708:
----------------------------------

             Summary: ScalarFunction has different classloader after submit task jar to cluster。
                 Key: FLINK-17708
                 URL: https://issues.apache.org/jira/browse/FLINK-17708
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.10.1
            Reporter: xiemeilong


The issue is similar to FLINK-16662

Only occurred when submit task to cluster, not in local mode.

 
{code:java}
Caused by: org.apache.flink.table.api.ValidationException: Given parameters of function 'generateDecoder' do not match any signature. 
 Actual: (com.yunmo.iot.schema.RecordFormat, com.yunmo.iot.schema.Schema) 
 Expected: (com.yunmo.iot.schema.RecordFormat, com.yunmo.iot.schema.Schema)
{code}

  

 



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