Merge pull request #32649 from fsx950223:master
PiperOrigin-RevId: 270927439
This commit is contained in:
commit
1c751f7355
@ -119,12 +119,18 @@ class LibHDFS {
|
||||
status_ = TryLoadAndBind(path.c_str(), &handle_);
|
||||
if (status_.ok()) {
|
||||
return;
|
||||
} else {
|
||||
LOG(ERROR) << "HadoopFileSystem load error: "
|
||||
<< status_.error_message();
|
||||
}
|
||||
}
|
||||
|
||||
// Try to load the library dynamically in case it has been installed
|
||||
// to a in non-standard location.
|
||||
status_ = TryLoadAndBind(kLibHdfsDso, &handle_);
|
||||
if (!status_.ok()) {
|
||||
LOG(ERROR) << "HadoopFileSystem load error: " << status_.error_message();
|
||||
}
|
||||
}
|
||||
|
||||
Status status_;
|
||||
|
Loading…
Reference in New Issue
Block a user