- close
Closes a connection to the RecordServicePlanner.
- planRequest
Calls the RecordServicePlanner to generate a new plan - set of tasks that can be
executed using a Re
- connect
Opens a connection to the RecordServicePlanner. Will retry maxAttempts if it got
SERVICE_BUSY error.
- getDelegationToken
Returns a delegation token for the current user. If renewer is set, this renewer
can renew the token
- getSchema
Calls the RecordServicePlanner to return the schema for a request. The caller
must call close().
- handleThriftException
Handles TException, throwing a more canonical exception. generalMsg is thrown if
we can't infer more
- isKerberosAuthenticated
Returns true if this client is authenticated with kerberos.
- sleepForRetry
Sleeps for retrySleepMs_.
- waitAndReconnect
Sleeps for retrySleepMs_ and reconnects to the planner. Returns true if the
connection was establish