changed deprecated function calls, hdfs scheme