Compile/Package with mfs-rest-server.jar, and uploaed it on one of cluster nodes. This service uses default 3000 port. You can change the port like :
$ java -jar mfs-rest-server.jar
- REST Service : metosin/compojure-api "1.1.11"
- MapR FS : org.apache.hadoop/hadoop-common "2.7.0-mapr-1808"
- Integration lanugage : org.clojure/clojure "1.8.0"
Leiningen is for automating tool for test, compiling, packaging.
$ lein ring uberjar
Then, You can find two jar files in /target directory.
Upload the final jars mfs-rest-server.jar on the MapR Cluster.
$ java -jar mfs-rest-server.jar
Default http port is 3000, if you want to change it,
$ PORT=8000 java -jar mfs-rest-server.jar
open http:/<node>:8000/index.html




