moved require webhdfs under load_current_resource method