If there are leading spaces for input-path like " hdfs://nn/path", the final path would be converted to
"${nameNode}/user/${coord:user()}/ hdfs://nn/path"
<uri-template>${nameNode}/user/${coord:user()}/ hdfs://nn/path</uri-template>
And cause the coordinator to fail.