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:
parent
9260e1ad74
commit
d84b2badeb
@ -238,7 +238,7 @@ class HdfsEnv : public Env {
|
|||||||
explicit HdfsEnv(const std::string& fsname) {
|
explicit HdfsEnv(const std::string& fsname) {
|
||||||
fprintf(stderr, "You have not build rocksdb with HDFS support\n");
|
fprintf(stderr, "You have not build rocksdb with HDFS support\n");
|
||||||
fprintf(stderr, "Please see hdfs/README for details\n");
|
fprintf(stderr, "Please see hdfs/README for details\n");
|
||||||
throw std::exception();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~HdfsEnv() {
|
virtual ~HdfsEnv() {
|
||||||
|
Loading…
Reference in New Issue
Block a user