Skip to content

Commit

Permalink
fix hdfs auth bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 2, 2024
1 parent 38e4376 commit a03f64b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cpp_sdk_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
steps:
- name: replace nodes
run: |
rm -rf /__e/node20
sudo rm -rf /__e/node20
echo "#### nodes list: "`ls /__e/node*`
cd /__e/ ln -s /__e/node16 node20
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions cpp/vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"registries": [
{
"kind": "git",
"repository": "https://mirror.ghproxy.com/github.com/FISCO-BCOS/registry",
"baseline": "45b6c6312e9a0feeb1ff408b8ebcddcfd160614b",
"repository": "https://github.com/FISCO-BCOS/registry",
"baseline": "535c4fc74badd509b94e8a736452fa8a76bff944",
"packages": [
"openssl",
"bcos-utilities",
Expand Down
2 changes: 1 addition & 1 deletion cpp/wedpr-storage/ppc-storage/src/hdfs/HDFSStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ HDFSStorage::HDFSStorage(FileStorageConnectionOption::Ptr const& _option)
if (_option->authConfig)
{
// set auth type to Kerberos
hdfsBuilderConfSetStr(m_builder.get(), "hadoop.security.authentication", "Kerberos");
hdfsBuilderConfSetStr(m_builder.get(), "hadoop.security.authentication", "kerberos");
// init and store the auth information into the cache
auto ctx = std::make_shared<Krb5Context>(_option->authConfig);
ctx->init();
Expand Down

0 comments on commit a03f64b

Please sign in to comment.