This exception indicates that the delegation token generated by Hive Metastore cannot be decoded by Hive Server. https://issues.apache.org/jira/browse/HIVE-9100 has information on how to configure Hive to share the secret. We need to try out both DB mode and Zookeeper mode and have integration tests for this.