will the exception be thrown when the path starts with "hdfs://" ? I guess not.