[ 
https://issues.apache.org/jira/browse/FLINK-20780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255437#comment-17255437
 ] 

Rui Li commented on FLINK-20780:
--------------------------------

Hmm... then I think you need to check the class path of JM/TM of your cluster. 
The stack trace indicates the error happens during job graph deserialization. 
So it means the {{JobConf}} class is available to sql-client but unavailable to 
JM/TM.
You can try {{ps aux | grep <PID>}} to display the launch command of JM/TM 
which should contain the class path information.

> Flink-sql-client query hive 
> ----------------------------
>
>                 Key: FLINK-20780
>                 URL: https://issues.apache.org/jira/browse/FLINK-20780
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive, Table SQL / Client
>         Environment: standalone
>            Reporter: xx chai
>            Priority: Major
>         Attachments: 1609127183(1).png
>
>
> flink-sql-client query hive is fail.
> I've already configured hadoop classpath
> and my hadoop is cdh
> error :
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.mapred.JobConfCaused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.mapred.JobConf at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:382) at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:418) at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 56 more



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

Reply via email to