Details
Description
Looks like the client currently retries all client errors, including 4xx ones. For example, using a client against a scheduler that requires Kerberos there's a series of lines like:
WARN] Connection error with scheduler: Unknown error talking to http://192.168.33.7:8081/api: 401 Client Error: Unauthorized, reconnecting... WARN] Connection error with scheduler: Unknown error talking to http://192.168.33.7:8081/api: 401 Client Error: Unauthorized, reconnecting... WARN] Connection error with scheduler: Unknown error talking to http://192.168.33.7:8081/api: 401 Client Error: Unauthorized, reconnecting... ...