[
https://issues.apache.org/jira/browse/CARBONDATA-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Bhat updated CARBONDATA-2726:
------------------------------------
Description:
Steps -
Thrift server is started in Carbon session -->sbin/startThriftserver.sh
In Spark 2.2 Beeline user executes the set carbon.search.enabled=true;
Actual Output - set carbon.search.enabled=true throws exception
0: jdbc:hive2://10.18.98.136:23040/default> set carbon.search.enabled=true;
Error: java.lang.ClassCastException: org.apache.spark.sql.SparkSession cannot be cast to org.apache.spark.sql.CarbonSession (state=,code=0)
Expected Output - set carbon.search.enabled=true/false should be success
was:
Steps -
In Spark 2.2 Beeline user executes the set carbon.search.enabled=true;
Actual Output - set carbon.search.enabled=true throws exception
0: jdbc:hive2://10.18.98.136:23040/default> set carbon.search.enabled=true;
Error: java.lang.ClassCastException: org.apache.spark.sql.SparkSession cannot be cast to org.apache.spark.sql.CarbonSession (state=,code=0)
Expected Output - set carbon.search.enabled=true/false should be success
> Carbon search enabled feature not working with Spark 2.2
> --------------------------------------------------------
>
> Key: CARBONDATA-2726
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-2726> Project: CarbonData
> Issue Type: Bug
> Components: other
> Affects Versions: 1.4.1
> Environment: Spark 2.2
> Reporter: Chetan Bhat
> Priority: Major
>
> Steps -
> Thrift server is started in Carbon session -->sbin/startThriftserver.sh
> In Spark 2.2 Beeline user executes the set carbon.search.enabled=true;
> Actual Output - set carbon.search.enabled=true throws exception
> 0: jdbc:hive2://10.18.98.136:23040/default> set carbon.search.enabled=true;
> Error: java.lang.ClassCastException: org.apache.spark.sql.SparkSession cannot be cast to org.apache.spark.sql.CarbonSession (state=,code=0)
>
> Expected Output - set carbon.search.enabled=true/false should be success
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)