Skip to content

Commit

Permalink
fix LinkFile() undefined reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Yangyang committed Dec 2, 2015
1 parent 4687ced commit be006d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hdfs/env_hdfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit be006d2

Please sign in to comment.