We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Integrating PySpark with Salesforce | Forum

HKR TRAININGS
HKR TRAININGS Mar 17 '23

I want to read data from salesforce via mapr/spark.

I have integrated following jar files in my config.

spark.driver.extraClassPath xyztest/scripts/salesforce/force-partner-api-40.0.0.jar:xyztest/scripts/salesforce/force-wsc-40.0.0.jar:xyztest/scripts/salesforce/jackson-core-2.10.3.jar:xyztest/scripts/salesforce/jackson-dataformat-xml-2.10.3.jar:xyztest/scripts/salesforce/salesforce-wave-api-1.0.9.jar:xyztest/scripts/salesforce/spark-salesforce_2.11-1.1.1.jar spark.executer.extraClassPath xyztest/scripts/salesforce/force-partner-api-40.0.0.jar:xyztest/scripts/salesforce/force-wsc-40.0.0.jar:xyztest/scripts/salesforce/jackson-core-2.10.3.jar:xyztest/scripts/salesforce/jackson-dataformat-xml-2.10.3.jar:xyztest/scripts/salesforce/salesforce-wave-api-1.0.9.jar:xyztest/scripts/salesforce/spark-salesforce_2.11-1.1.1.jar

But when I execute this function I get an error.

soql = "SELECT * FROM Goodwill__c" df = spark \ .read \ .format("com.springml.spark.salesforce") \ .option("username", "xyzUser") \ .option("password", "passwort1234token1234") \ .option("soql", soql) \ .load() ERROR: com.sforce.ws.ConnectionException: Failed to send request to https://login.salesforce.com/services/Soap/u/35.0

What is wrong with my function? Has anyone an idea how to get a connection from mapr/spark to salesforce?

VISIT:https://hkrtrainings.com/salesforce-vs-servicenow

Ravina Sharma
Ravina Sharma May 18 '23

[url=http://www.24x7escort.co.in/Pratapgarh-Escorts] Pratapgarh Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Pushkar-Escorts] Pushkar Escort Service[/url] || 

[url=http://www.aliaa.in/Mandore-Escorts] Mandore Escort Service[/url] || 

[url=http://www.aliaa.in/Mount-Abu-Escorts] Mount Abu Escort Service[/url] || 

[url=http://www.aliaa.in/Nagaur-Escorts] Nagaur Escort Service[/url] || 

[url=http://www.aliaa.in/Nasirabad-Escorts] Nasirabad Escort Service[/url] || 

[url=http://www.aliaa.in/Neemrana-Escorts] Neemrana Escort Service[/url] || 

Alex Jones
Alex Jones Nov 3 '24
Addiction treatment in New Jersey combines compassionate care with evidence-based therapies, helping people regain control over their lives and achieve lasting sobriety. new jersey alcohol rehab
Alex Jones
Alex Jones Dec 25 '24
Quality detox treatment options in Nashville, TN, to support long-term sobriety. Detox Nashville TN
Alex Jones
Alex Jones Jan 17
A structured, high-level outpatient program for serious mental health needs. Partial Hospitalization Program Los Angeles