Skip to content

Commit a03f64b

Browse files
committed
fix hdfs auth bug
1 parent 38e4376 commit a03f64b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/cpp_sdk_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
steps:
121121
- name: replace nodes
122122
run: |
123-
rm -rf /__e/node20
123+
sudo rm -rf /__e/node20
124124
echo "#### nodes list: "`ls /__e/node*`
125125
cd /__e/ ln -s /__e/node16 node20
126126
- uses: actions/checkout@v3

cpp/vcpkg-configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"registries": [
33
{
44
"kind": "git",
5-
"repository": "https://mirror.ghproxy.com/github.com/FISCO-BCOS/registry",
6-
"baseline": "45b6c6312e9a0feeb1ff408b8ebcddcfd160614b",
5+
"repository": "https://github.com/FISCO-BCOS/registry",
6+
"baseline": "535c4fc74badd509b94e8a736452fa8a76bff944",
77
"packages": [
88
"openssl",
99
"bcos-utilities",

cpp/wedpr-storage/ppc-storage/src/hdfs/HDFSStorage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ HDFSStorage::HDFSStorage(FileStorageConnectionOption::Ptr const& _option)
7171
if (_option->authConfig)
7272
{
7373
// set auth type to Kerberos
74-
hdfsBuilderConfSetStr(m_builder.get(), "hadoop.security.authentication", "Kerberos");
74+
hdfsBuilderConfSetStr(m_builder.get(), "hadoop.security.authentication", "kerberos");
7575
// init and store the auth information into the cache
7676
auto ctx = std::make_shared<Krb5Context>(_option->authConfig);
7777
ctx->init();

0 commit comments

Comments
 (0)