public Collection<FileStatus> listDir(String path) {
		Assert.hasText(path, "path can not be empty nor null");
		return shell.ls(path);
	}
Retrieves a list of entries in the hdfs at the path specified.

@param path the path
@return collection of entries for the requested path
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/HadoopUtils.java