Not a Cassandra question so this isn't the right list, but you can just upload
the file to CFS and then access it by the path "cfs://filename".
However, since you have DSE you may want to contact support for help with
pathing in DSE using CFS and Spark.
-Ryan Svihla
On Fri, Oct 16, 2015 at 1:33 AM -0700, "Adamantios Corais"
wrote:
Hi,
I have install Cassandra locally (DataStax Enterprise to be specific).
Everything seems to work ok. For example, I can upload a test file into CFS or
open a Spark REPL.
However, when it comes to my very own Spark application, I can't understand how
to modify sc.textFile("/user/testuser/words.txt") so that I can read the file I
just uploaded to my local DataStax installation.
How should I refer to the associated host?
// Adamantios