Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2726

Carbon search enabled feature not working with Spark 2.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: other
    • Labels:
      None
    • Environment:
      Spark 2.2

      Description

      Steps -

      Thrift server is started using the command 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

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chetdb Chetan Bhat
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated: