Skip to content

WebRDFS

Victoria Nazari edited this page Dec 1, 2017 · 2 revisions

How To Start

  1. Run zookeeper (from ~, sudo zookeeper/bin/zkServer.sh start). This will run in the background.
  2. Run namenode (from ~, rdfs/build/rice-namenode/namenode &). This will run in the background.
  3. Run datanode (from ~, rdfs/build/rice-datanode/datanode &). This will run in the background.
  4. Run webRDFS (from ~, rdfs/build/web-rdfs/webrdfs &). This will run in the background

How to send request

  1. Follow the steps in the 'How to Start' sections to get webRDFS up and running
  2. To run a command do curl https://comp413.local:8080/webhdfs/v1/<FilePath>?op=<DesiredCommand>
  3. An example is curl https://comp413.local:8080/webhdfs/v1/fileToRead?op=OPEN . This opens file /fileToRead

Clone this wiki locally