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
This commit is contained in:
Yueh-Hsuan Chiang 2014-12-05 13:30:57 -08:00
parent 9260e1ad74
commit d84b2badeb

View File

@ -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() {