Automating IoT Data-Intensive Application Allocation in Clustered Edge Computing