I am new in Spark and I am using spark-2.1.0-bin-hadoop2.7
.
I have checked it's WordsCount sample and it works fine, but JavaLDAExample does not.
I checked their source codes here. WordsCount requires an url as parameter for it's data and I have created my data via hdfs on hadoop, so I send the path like this hdfs://master:9000/input/data/test.txt
.
But JavaLDAExample uses a static path Dataset<Row> dataset = spark.read().format("libsvm").load("data/mllib/sample_lda_libsvm_data.txt");
and I don't know where is that address that I should move my files there.
I got this error ( Lines 51 , 59 ). Can you help me solve this ?