diff --git a/hdfs/env_hdfs.h b/hdfs/env_hdfs.h index e1e943093..2b83317c0 100644 --- a/hdfs/env_hdfs.h +++ b/hdfs/env_hdfs.h @@ -89,7 +89,9 @@ class HdfsEnv : public Env { 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);