Fix $hdfs_path reassignment issue