"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:%s@%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 Dev

"remoteContext object has no attribute"

From Dev

Merging Users in Kinvey

From Dev

PostgreSQL: Efficiently split JSON array into rows

From Dev

boost::asio how to read full buffer in right way?

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

iOS - iPad preview in Xcode is missing

From Dev

Java: Method hooking & Finding object instances

From Dev

Using git diff, how can I show the patch from the index to a given commit?

From Dev

Cast for upcasting only

From Dev

How can I multiply or divide value under the cursor by a repeat count?

From Dev

Can`t compile boost spirit word_count_lexer example

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

Forgot do in do... while loop

From Java

How to fix "An unexpected error occurred. Please try again later. (7100000)" error in Google Play Console?

From Java

Does C# perform short circuit evaluation of if statements with await?

From Java

Why doesn't Python give any error when quotes around a string do not match?

From Java

Why is this regular expression so slow in Java?

From Java

Why are my two tuples containing strings, created the same way, not equal?

From Java

How to pass array initialization thru custom structure?

From Java

Why does Python code run faster in a function?

From Java

How to set same alignment for these two text

From Java

How to wrap title on to new line react native

From Dev

Run grunt task asynchronously before another task

Related Related

  1. 1

    "remoteContext object has no attribute"

  2. 2

    Merging Users in Kinvey

  3. 3

    PostgreSQL: Efficiently split JSON array into rows

  4. 4

    boost::asio how to read full buffer in right way?

  5. 5

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

  6. 6

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

  7. 7

    iOS - iPad preview in Xcode is missing

  8. 8

    Java: Method hooking & Finding object instances

  9. 9

    Using git diff, how can I show the patch from the index to a given commit?

  10. 10

    Cast for upcasting only

  11. 11

    How can I multiply or divide value under the cursor by a repeat count?

  12. 12

    Can`t compile boost spirit word_count_lexer example

  13. 13

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

  14. 14

    Count letters in a text in the Welsh language

  15. 15

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

  16. 16

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

  17. 17

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

  18. 18

    Elastic Search indexes gets deleted frequently

  19. 19

    Forgot do in do... while loop

  20. 20

    How to fix "An unexpected error occurred. Please try again later. (7100000)" error in Google Play Console?

  21. 21

    Does C# perform short circuit evaluation of if statements with await?

  22. 22

    Why doesn't Python give any error when quotes around a string do not match?

  23. 23

    Why is this regular expression so slow in Java?

  24. 24

    Why are my two tuples containing strings, created the same way, not equal?

  25. 25

    How to pass array initialization thru custom structure?

  26. 26

    Why does Python code run faster in a function?

  27. 27

    How to set same alignment for these two text

  28. 28

    How to wrap title on to new line react native

  29. 29

    Run grunt task asynchronously before another task

HotTag

Archive