Overview
Users of Kubernetes based installs may notice their queries.json
showing non JSON formatted messages after upgrading to Dremio 20 or later
Applies To
Kubernetes / Docker based releases 20.0 onwards
Details
The user may notice messages in queries.json
that look similar to the following
Query: 1db13945-839b-1b4b-240e-962c845b4300; outcome: COMPLETED Query: 1db13a0c-3015-ee60-166a-70ba9c594800; outcome: COMPLETED Query: 1db13a0b-c14b-ced5-620b-3249a8707000; outcome: COMPLETED
Cause
There was a change to the logback.xml
introduced in Dremio 20.0 onwards that is decribed in the release notes here:
Solution
Since upgrading Kubernetes only upgrades the image, the user will need to download the new logback.xml
from the Dremio repo below
https://github.com/dremio/dremio-cloud-tools/blob/master/charts/dremio_v2/config/logback.xml
You will then need to rebuild your ConfigMap
to include the new logback.xml
. If you are using Helm with our charts, this would mean replacing the old logback.xml
with the new one in the config directory and upgrading the Dremio release
Note: if you are running an older release of Dremio and use the v20.x version of the logback.xml you will also experience problems with missing entries.