Merge pull request #863 from zhangyybuaa/fix_hdfs_error
Fix build error with hdfs
This commit is contained in:
commit
8ac7fb8377
@ -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);
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include "rocksdb/status.h"
|
||||
#include "util/string_util.h"
|
||||
|
||||
#define HDFS_EXISTS 0
|
||||
#define HDFS_DOESNT_EXIST -1
|
||||
|
Loading…
Reference in New Issue
Block a user