MCPcopy Create free account
hub / github.com/apache/impala / InitKerberos

Method InitKerberos

be/src/rpc/authentication.cc:1310–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1308}
1309
1310Status SecureAuthProvider::InitKerberos(const string& principal) {
1311 principal_ = principal;
1312
1313 RETURN_IF_ERROR(ParseKerberosPrincipal(
1314 principal_, &service_name_, &hostname_, &realm_));
1315
1316 LOG(INFO) << "Using " << (is_internal_ ? "internal" : "external")
1317 << " kerberos principal \"" << service_name_ << "/"
1318 << hostname_ << "@" << realm_ << "\"";
1319
1320 return Status::OK();
1321}
1322
1323// For the environment variable attr, append "-Dthing=thingval" if "thing" is not already
1324// in the current attr's value.

Callers 2

TESTFunction · 0.80
InitMethod · 0.80

Calls 2

ParseKerberosPrincipalFunction · 0.85
OKFunction · 0.85

Tested by 1

TESTFunction · 0.64