HDP 2.4.0 provides Calcite 1.2.0 and the following Apache patch:
CALCITE-984: NPE in ErrorResponse construction.