Replace exception by abort() in dummy HdfsEnv implementation.

Summary: Replace exception by abort() in dummy HdfsEnv implementation.

Test Plan: make dbg -j32

Reviewers: sdong, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D29895
main
Yueh-Hsuan Chiang 10 years ago
parent 9260e1ad74
commit d84b2badeb
  1. 2
      hdfs/env_hdfs.h

@ -238,7 +238,7 @@ class HdfsEnv : public Env {
explicit HdfsEnv(const std::string& fsname) {
fprintf(stderr, "You have not build rocksdb with HDFS support\n");
fprintf(stderr, "Please see hdfs/README for details\n");
throw std::exception();
abort();
}
virtual ~HdfsEnv() {

Loading…
Cancel
Save