[ https://issues.apache.org/jira/browse/FLINK-20780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255543#comment-17255543 ]
Jark Wu commented on FLINK-20780: --------------------------------- [~chaixiaoxue], yes, you need to use {{exit}} to shutdown the SQL Client session. Ctrl+Z will suspend the process of SQL Client in background and {{stop-cluster.sh}} just stop the Flink cluster not the SQL Client session. I will close this issue then. > 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, ps-flink-process.txt > > > 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)