simplify get HdfsInputStream logic in HdfsFileInputStream