fix bug when authority part is in the hdfs path