Closed Constannnnnt closed 6 years ago
We need to put [simpledata]() into an HDFS directory. I used the following commands.
hdfs dfs -mkdir -p /user/k86huang/cs651
hdfs dfs -put ./simpledata /user/k86huang/cs651
spark-submit --class ca.uwaterloo.cs651.project.CoreNLP --driver-memory 4G --executor-memory 4G target/project-1.0.jar -input /user/k86huang/cs651/simpledata -output output -functionality dcoref
And if you don't specify the prefix like "/user/{student_id}", you may find permission issues.
The local file cannot be assessed in datasci. Is there any way that we can work around it?