Claude
10f075ab7f
feat(yarn_client): auth config for YARN REST (none/simple/basic/kerberos)
Add per-Connection authentication so CDH 5 / Kerberos / HTTP Basic
clusters can be queried.
- auth_type: none / simple / basic / kerberos
- auth_user / auth_password for HTTP Basic
- auth_principal / auth_keytab stored for audit/display; actual SPNEGO
handled by httpx-kerberos using the system Kerberos credential cache
- YarnClientConfig.auth_for_httpx() returns the right httpx.Auth object
- _request passes auth= through to httpx.request alongside verify=
New dependency: httpx-kerberos.
Tests cover none/simple (no auth object), Basic auth header,
Kerberos auth object, missing basic user, invalid auth_type, and
tool-layer config propagation.
2026-06-26 13:57:57 +08:00
..
2026-06-24 14:37:09 +08:00
2026-06-26 13:57:57 +08:00
2026-06-25 10:52:53 +08:00
2026-06-25 13:18:39 +08:00
2026-06-24 14:36:05 +08:00
2026-06-25 10:52:53 +08:00
2026-06-26 13:50:30 +08:00
2026-06-24 14:34:40 +08:00
2026-06-25 10:41:19 +08:00
2026-06-26 13:50:30 +08:00
2026-06-26 13:50:30 +08:00
2026-06-24 14:39:13 +08:00
2026-06-26 13:50:30 +08:00
2026-06-26 11:22:00 +08:00
2026-06-25 12:52:16 +08:00
2026-06-26 13:57:57 +08:00
2026-06-25 10:41:19 +08:00
2026-06-26 13:57:57 +08:00