57 const std::string& from,
58 const std::string& to);
61 const std::string& from,
62 const std::string& to);
65 explicit HDFS(
const std::string& _hadoop)
68 const std::string hadoop;
71 #endif // __HDFS_HPP__
process::Future< Nothing > copyFromLocal(const std::string &from, const std::string &to)
process::Future< Nothing > copyToLocal(const std::string &from, const std::string &to)
process::Future< Nothing > rm(const std::string &path)
process::Future< Bytes > du(const std::string &path)
process::Future< bool > exists(const std::string &path)
static Try< process::Owned< HDFS > > create(const Option< std::string > &hadoop=None())