Kudu read fails: Tablet is lagging too much to be able to serve snapshot scan
Hi,
We have a Kudu cluster with replication factor 3. All Kudu machines have time synchronization via NTP.
Our application performs a SELECT from a Kudu table via Impala JDBC driver. The Impala Daemon is configured with the command-line option: --kudu_read_mode=READ_AT_SNAPSHOT.
This operation fails:
[Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: Unable to open scanner: Timed out: unable to retry before timeout: Remote error: Service unavailable: Timed out: could not wait for desired snapshot timestamp to be consistent: Tablet is lagging too much to be able to serve snapshot scan. Lagging by: 61148 ms, (max is 30000 ms):: Remote error: Service unavailable: Timed out: could not wait for desired snapshot timestamp to be consistent: Tablet is lagging too much to be able to serve snapshot scan. Lagging by: 30821 ms, (max is 30000 ms):
, Query: SELECT COUNT(*) as `expr_0` FROM `ci_pdo_PDO_Func_Tests`.`alarm_relationship_rules` WHERE (1 = 1).
What is the cause of this error? Is it due to misbehaving NTP or something else?
Which Kudu parameter to tune? Is it --safe_time_max_lag_ms=30000 for Kudu master or something else?
I tried to find the necessary info in Kudu configuration reference, but the parameters are quite poorly documented.
Thanks

