Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 601 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 601 Bytes

sparkmicroservices

#Blog
http://ashkrit.blogspot.com/2018/05/spark-microservices.html
http://ashkrit.blogspot.sg/2018/05/custom-logs-in-apache-spark.html

#How to Build

mvn clean install

#How to start service

micro.main.QueryController

#How to test

http://localhost:8080/spark?text=select * from vehicle
http://localhost:8080/spark?text=select * from vehicle where year = '2005'

#Multiple Query

http://localhost:8080/multiplequery - POST

Body
{ "query" :[ "select * From vehicle", "select * From vehicle where year='2005' " ] }