[ https://issues.apache.org/jira/browse/KYLIN-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469160#comment-17469160 ]
Yaqian Zhang edited comment on KYLIN-5145 at 1/5/22, 9:55 AM: -------------------------------------------------------------- [~qingquan] {code:java} Skip spark which not owned by kylin. SPARK_HOME is /opt/kylin/spark-3.1.1-bin-hadoop3.2 and KYLIN_HOME is /opt/kylin. {code} The reason for this message is that your spark is placed in $kylin_ Home directory, but it has not been renamed "spark" , so kylin will not do some jar package replacement for this spark. You can rename "spark-3.1.1-bin-hadoop3.2" to "spark" and try again. was (Author: zhangyaqian): [~qingquan] {code:java} Skip spark which not owned by kylin. SPARK_HOME is /opt/kylin/spark-3.1.1-bin-hadoop3.2 and KYLIN_HOME is /opt/kylin. {code} The reason for this message is that your spark is placed in $kylin_ Home directory, but it has not been renamed {code:java}spark{code} , so kylin will not do some jar package replacement for this spark. You can rename "spark-3.1.1-bin-hadoop3.2" to "spark" and try again. > Query Failed:wrong number of arguments while executing SQL > ---------------------------------------------------------- > > Key: KYLIN-5145 > URL: https://issues.apache.org/jira/browse/KYLIN-5145 > Project: Kylin > Issue Type: Bug > Components: Query Engine > Affects Versions: v4.0.0 > Environment: spark3.1.1 > hadoop3.1.3 > hive:3.1.2 > kylin4.0.0-spark3 > Reporter: qingquanzhang > Priority: Major > Attachments: find-spark-dependency.sh, kylin.log > > > An error occurred when I initiated the query: > java.lang.IllegalArgumentException: wrong number of arguments while executing > SQL: "select * from (select count(*) from kylin_sales) limit 50000" -- This message was sent by Atlassian Jira (v8.20.1#820001)