fix LinkFile() undefined reference error

This commit is contained in:
Zhang Yangyang 2015-12-02 21:46:48 +08:00
parent 4687ced5db
commit be006d2887

View File

@ -89,7 +89,9 @@ class HdfsEnv : public Env {
virtual Status RenameFile(const std::string& src, const std::string& target); virtual Status RenameFile(const std::string& src, const std::string& target);
virtual Status LinkFile(const std::string& src, const std::string& target); virtual Status LinkFile(const std::string& src, const std::string& target) {
return Status::NotSupported(); // not supported
}
virtual Status LockFile(const std::string& fname, FileLock** lock); virtual Status LockFile(const std::string& fname, FileLock** lock);