Comments (2)
Do you have access to the Spark session? If you have a Spark session "sparkSession", try setting the settings "spark.memsql.host", etc on the sparkSession.conf() instead, and replace sqlContext with sparkSession in your Dataframe statement.
In the Spark connector we look at the RuntimeConfig, which you get from sparkSession.conf(). The various confs for SparkSession, SqlContext, and SparkContext are slightly different (return different classes even, as SparkContext getConf() returns a "SparkConf") and changes at runtime are not seen by all of them -- There's a design doc from the Spark developers with some more explanation here: https://issues.apache.org/jira/browse/SPARK-13520 .
from singlestore-spark-connector.
Thanks for the reply. I figured the problem was that I hadn't given access to Sparks's master and worker to the master and leaf nodes of Memsql.
from singlestore-spark-connector.
Related Issues (20)
- Getting Mysql "Multiple statements detected in a single query." error. HOT 4
- ALTER TABLE xxx RENAME TO issue with memsql spark connector HOT 2
- Question on merge functionality HOT 2
- load balancing for data ingestion is not working with multi aggregators HOT 3
- V3 is too slow as compared to V2 HOT 29
- control max number of concurrent connections on save HOT 2
- avro Date format exception HOT 3
- load data to memsql table from Hadoop (HDFS) ORC files HOT 2
- support for spark 3.0.x.. HOT 1
- issue with number of partitions when we use spark.read HOT 8
- selective pushdown HOT 4
- SingleStore DB support Array<struct> column types ? HOT 2
- Is it possible to consume singleStore as streaming datasource HOT 1
- memsql connector supports keytab and principal for kerb authn
- Typo SingleStore
- supported features for singlestore-spark-connector_2.11.... HOT 1
- support partial column list when using .write() HOT 2
- Performance issue HOT 5
- Reading using SSL fails on multi-node clusters HOT 6
- Parallel Read from Aggregators not working in Aws Glue HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from singlestore-spark-connector.