As the question, I want to build R-tree index for spatial data using Apache-Spark, the input and output is `HDFS`.