65 const std::string& from,
66 const std::string& to);
69 const std::string& from,
70 const std::string& to);
73 explicit HDFS(
const std::string& _hadoop)
76 const std::string hadoop;
79 #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)
static Try< mesos::URI > parse(const std::string &uri)
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())