diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/fs/filesystem.cc b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/fs/filesystem.cc index 7404606d52..36a4cbfab8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/fs/filesystem.cc +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/fs/filesystem.cc @@ -153,9 +153,9 @@ FileSystem * FileSystem::New( FileSystemImpl::FileSystemImpl(IoService *&io_service, const Options &options) : io_service_(static_cast(io_service)), nn_(&io_service_->io_service(), options, - GetRandomClientName(), kNamenodeProtocol, - kNamenodeProtocolVersion), - client_name_(GetRandomClientName()) + GetRandomClientName(), kNamenodeProtocol, + kNamenodeProtocolVersion), client_name_(GetRandomClientName()), + bad_node_tracker_(std::make_shared()) { // Poor man's move io_service = nullptr;