What command did you use to connect? Try this: beeline> !connect jdbc:hive2://localhost:10000?hive.server2.transport.mode=http;hive.server2.thrift.http.path=cliservice
On Thu, Aug 11, 2016 at 9:23 AM, Richard M [via Apache Spark User List] < ml-node+s1001560n27513...@n3.nabble.com> wrote: > I am running HiveServer2 as well and when I connect with beeline I get the > following: > > org.apache.spark.sql.internal.SessionState cannot be cast to > org.apache.spark.sql.hive.HiveSessionState > > > Do you know how to resolve this? > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-spark-user-list.1001560.n3.nabble.com/ > HiveThriftServer-and-spark-sql-hive-thriftServer-singleSession-setting- > tp27340p27513.html > To unsubscribe from HiveThriftServer and > spark.sql.hive.thriftServer.singleSession > setting, click here > <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=27340&code=Y2hhbmdsaW1AZ21haWwuY29tfDI3MzQwfC00NzE0MzQ2NDA=> > . > NAML > <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/HiveThriftServer-and-spark-sql-hive-thriftServer-singleSession-setting-tp27340p27565.html Sent from the Apache Spark User List mailing list archive at Nabble.com.