Class HdfsKerberosConfig

java.lang.Object
io.trino.hdfs.authentication.HdfsKerberosConfig

public class HdfsKerberosConfig extends Object
  • Constructor Details

    • HdfsKerberosConfig

      public HdfsKerberosConfig()
  • Method Details

    • getHdfsTrinoPrincipal

      @NotNull public @NotNull String getHdfsTrinoPrincipal()
    • setHdfsTrinoPrincipal

      @Config("hive.hdfs.trino.principal") @LegacyConfig("hive.hdfs.presto.principal") public HdfsKerberosConfig setHdfsTrinoPrincipal(String hdfsTrinoPrincipal)
    • getHdfsTrinoKeytab

      @NotNull public @NotNull Optional<@FileExists String> getHdfsTrinoKeytab()
    • setHdfsTrinoKeytab

      @Config("hive.hdfs.trino.keytab") @LegacyConfig("hive.hdfs.presto.keytab") public HdfsKerberosConfig setHdfsTrinoKeytab(String hdfsTrinoKeytab)
    • getHdfsTrinoCredentialCacheLocation

      @NotNull public @NotNull Optional<@FileExists String> getHdfsTrinoCredentialCacheLocation()
    • setHdfsTrinoCredentialCacheLocation

      @Config("hive.hdfs.trino.credential-cache.location") public HdfsKerberosConfig setHdfsTrinoCredentialCacheLocation(String hdfsTrinoCredentialCacheLocation)
    • isConfigValid

      @AssertTrue(message="Exactly one of `hive.hdfs.trino.keytab` or `hive.hdfs.trino.credential-cache.location` must be specified") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of `hive.hdfs.trino.keytab` or `hive.hdfs.trino.credential-cache.location` must be specified") boolean isConfigValid()