Merge pull request #863 from zhangyybuaa/fix_hdfs_error

Fix build error with hdfs
main
Igor Canadi 9 years ago
commit 8ac7fb8377
  1. 4
      hdfs/env_hdfs.h
  2. 1
      util/env_hdfs.cc

@ -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…
Cancel
Save