"remoteContext object has no attribute"

dbl001

I'm running Spark 1.4 in Databrick's Cloud. I loaded a file into my S3 instance and mounted it. Mounting worked. But I'm having trouble creating an RDD: enter image description here enter image description here

dbutils.fs.mount("s3n://%s:%[email protected]%s" % (ACCESS_KEY, SECRET_KEY, AWS_BUCKET_NAME), "/mnt/%s" % MOUNT_NAME)

Any ideas?

sc.parallelize([1,2,3])
rdd = sc.textFiles("/mnt/GDELT_2014_EVENTS/GDELT_2014.csv")
Holden

You've done a great job getting your data mounted into dbfs which is great, and it looks like you just have a small typo. I suspect you want to use sc.textFile rather than sc.textFiles. Best of luck with your adventures with Spark.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Can we write comments within variable names?

From Java

App Store Connect message: Your account will soon need to be migrated to federated auth

From Java

Javascript Promises curiosity

From Java

Effectively final vs final - Different behavior

From Java

Why design a language with unique anonymous types?

From Java

How to make a for loop variable const with the exception of the increment statement?

From Java

Count letters in a text in the Welsh language

From Java

Why does using the ternary operator to return a string generate considerably different code from returning in an equivalent if/else block?

From Java

No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() in Flutter and Firebase

From Java

Changes using mutable reference of a field are not reflected after move of the original instance

From Java

Elastic Search indexes gets deleted frequently

From Java

How to wrap title on to new line react native

From Dev

Is (uint64_t)-1 guaranteed to yield 0xffffffffffffffff?

From Dev

Run grunt task asynchronously before another task

From Dev

Converting angle of circle to time in minutes

From Dev

Search in a tableView Cell issue

From Dev

What is the difference between Face Detection and Face Recognition in iOS perspective

From Dev

How to turn on or off "Location Service Checking" for particular application in iOS

From Dev

What type of certificate do you need in iOS?

From Dev

Push Notification ON or OFF Checking in iOS

From Dev

Finding base class at compile time

From Dev

Number of "region" monitored by RegionMonitoring, based on users current location in iOS7

From Dev

Insert data into remote mysql database by POST method from iOS device

From Dev

NSCache UIImage data passing from oneViewController to anotherViewController

From Dev

Is a more targeted recovery from git bisect mistakes possible?

From Dev

Re-Run Event in VB.NET Windows Forms

From Dev

GIT SVN: fetching a recreated SVN branch without the wrong merge parent

From Dev

How to find out value of a particular attribute index in core data model iOS

From Dev

"remoteContext object has no attribute"

Related Related

  1. 1

    Can we write comments within variable names?

  2. 2

    App Store Connect message: Your account will soon need to be migrated to federated auth

  3. 3

    Javascript Promises curiosity

  4. 4

    Effectively final vs final - Different behavior

  5. 5

    Why design a language with unique anonymous types?

  6. 6

    How to make a for loop variable const with the exception of the increment statement?

  7. 7

    Count letters in a text in the Welsh language

  8. 8

    Why does using the ternary operator to return a string generate considerably different code from returning in an equivalent if/else block?

  9. 9

    No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() in Flutter and Firebase

  10. 10

    Changes using mutable reference of a field are not reflected after move of the original instance

  11. 11

    Elastic Search indexes gets deleted frequently

  12. 12

    How to wrap title on to new line react native

  13. 13

    Is (uint64_t)-1 guaranteed to yield 0xffffffffffffffff?

  14. 14

    Run grunt task asynchronously before another task

  15. 15

    Converting angle of circle to time in minutes

  16. 16

    Search in a tableView Cell issue

  17. 17

    What is the difference between Face Detection and Face Recognition in iOS perspective

  18. 18

    How to turn on or off "Location Service Checking" for particular application in iOS

  19. 19

    What type of certificate do you need in iOS?

  20. 20

    Push Notification ON or OFF Checking in iOS

  21. 21

    Finding base class at compile time

  22. 22

    Number of "region" monitored by RegionMonitoring, based on users current location in iOS7

  23. 23

    Insert data into remote mysql database by POST method from iOS device

  24. 24

    NSCache UIImage data passing from oneViewController to anotherViewController

  25. 25

    Is a more targeted recovery from git bisect mistakes possible?

  26. 26

    Re-Run Event in VB.NET Windows Forms

  27. 27

    GIT SVN: fetching a recreated SVN branch without the wrong merge parent

  28. 28

    How to find out value of a particular attribute index in core data model iOS

  29. 29

    "remoteContext object has no attribute"

HotTag

Archive