Skip to content

Commit

Permalink
[Hotfix] Fix loading custom auth s3 catalog issue (#3227)
Browse files Browse the repository at this point in the history
Fix loading custoom auth s3 catalog issue
  • Loading branch information
zhoujinsong authored Sep 30, 2024
1 parent 967eea2 commit dc8f32f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ public TableMetaStore build() {
return new TableMetaStore(configuration);
} else {
readProperties();
if (!AUTH_METHOD_AK_SK.equals(authMethod)) {
if (AUTH_METHOD_SIMPLE.equals(authMethod) || AUTH_METHOD_KERBEROS.equals(authMethod)) {
Preconditions.checkNotNull(hdfsSite);
Preconditions.checkNotNull(coreSite);
}
Expand Down

0 comments on commit dc8f32f

Please sign in to comment.