Giter Club home page Giter Club logo

Comments (5)

mkambol avatar mkambol commented on August 17, 2024

The Apache hive jdbc driver can be used to connect to SparkSQL. There's also a Simba driver specifically for Spark: http://www.simba.com/drivers/spark-jdbc-odbc/

Note that there's not a Mondrian dialect specifically for SparkSQL, so it's possible that you'll hit some issues.

from mondrian.

Zhangshunyu avatar Zhangshunyu commented on August 17, 2024

@mkambol thanks for your kindly reply, now I intrgrated spark with hive jdbc, and I want to intrgrate them with mondrian, I mean we use Mondrian to send the sql to JDBC, and using hive to connect with spark, just like beeline, is it possible?

from mondrian.

mkambol avatar mkambol commented on August 17, 2024

Mondrian supports jdbc connections, so you should be able to define a connection much like you do with beeline to connect. As I mentioned there's been little testing of Mondrian with SparkSQL, and there's no defined dialect, so you may run into issues, but it should be possible to connect.

from mondrian.

WangTaoTheTonic avatar WangTaoTheTonic commented on August 17, 2024

Hi @mkambol , I've connected SparkSQL Thrift Server using hive jdbc driver. We wanna change configurations in hive-site.xml which is under under "$TOMCAT_HOME/webapps/mondrian/WEB-INF/classes" but found the jar containing driver class could not read the hive-site.xml.

Do you guys have any ideas about that? Is there sth wrong about what we've done?
Note: the log4j.properties under the same directory can work.

from mondrian.

WangTaoTheTonic avatar WangTaoTheTonic commented on August 17, 2024

We've solved that. It is right to put it under that directory. The reason is our mistake on the other perspect.

from mondrian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.