An Optimal Framework for Spatial Query Optimization Using Hadoop in Big Data Analytics