Removed hard-coded paths and provided instructions on running on mac#8
Removed hard-coded paths and provided instructions on running on mac#8javadba wants to merge 1 commit intoBIDData:masterfrom
Conversation
|
Committers: please examine / provide feedback for this PR. More info from the updated README.md Start the spark-shell like this: spark-shell --executor-memory 6g --total-executor-cores 1 --master spark://sparkbook:7077 --jars /git/BIDMach_Spark/BIDMatHDFS.jar,/git/BIDMach/lib/BIDMat.jar,/git/BIDMach/BIDMach.jar --driver-java-options "-Dbidmach.path=/git/BIDMach -Dbidmach.merged.hdfs.path=hdfs://sparkbook:8020/bidmach/BIDMach_MNIST/partsmerged.fmat.lz4 -Dhdfs.path=hdfs://sparkbook:8020/bidmach -Dspark.executors=1" Inside the spark-shell: :load /git/BIDMach_Spark/scripts/load_mnist.ssc |
|
Is this project alive? No feedback after having submitted 14 days ago. |
This PR is about usability. It was an arduous task to be able to run the KMeansLearner.ssc script. This PR aims to make it (a) possible to do so (the code has hardcoded paths so is unworkable without these changes) and (b) provides more guidance on how to achieve it. These are applicable to all platforms.
Finally there are details specifically related to Mac.
Here is an excerpt from the Update README.md that shows the changes to the script files to make them usable outside of the specific AWS machine and directory structure that the original developer was using:
System properties to control the testing scripts
The .ssc files under scripts/ directory are used to test the installation. Here are environment variables / System properties to configure them properly for your local environment: