When i try to install dremio as mentioned in tutorials in EKS I am facing error at helm install . --wait.
I have not made any changes to the config files (as it is from git). The following is the error:
(Copied first few lines and last few lines)
Error: template: dremio/templates/dremio-configmap.yaml:6:5: executing “dremio/templates/dremio-configmap.yaml” at <tpl (.Files.Glob “config/*”).AsConfig .>: error calling tpl: error during tpl function execution for "core-site.xml: "<?xml version=\\\"1.0\\\"?>\r\n\r\n \r\n{{- if and .Values.distStorage.type (ne .Values.distStorage.type \“local\”)\n }}\r\n \r\n {{- if eq .Values.distStorage.type\n \“aws\” }}\r\n \r\n fs.dremioS3.impl\r\n The\n FileSystem implementation. Must be set to com.dremio.plugins.s3.store.S3FileSystem\r\n\n \
Thanks for your response. No I am not setting it to s3 but it is the default one (local). In fact, haven’t made any changes to cloud tools folder from git when i try to do helm install. However i did try setting up with S3 today and still see the same error.
Yes. First, I used the original one that came from GIT (without changing the values anywhere) with the default setting to local. Then per your suggestion, I modified it to use s3. And attached the file here.
Yes, of course, i have followed the link and configured (updated core-site.xml with accessid and accesskey. Herewith attached core-site.xml file as well for your reference (obscuring my ID and key). I also tried to remove false cases (azure parts) just to see if that is causing issues, but still getting the same error.
I have also updated the values.xml with S3.
The S3 bucket also has necessary permission as mentioned in the links.
But, the point is it was throwing the same error even when I leave it to local (default configs). So not sure if S3 config has anything to do with this issue.
Hi, probably this is not a final solution, but it allowed me to continue working.
With the current code in dremio-configmap.yaml, it does not matter what you put in config folder, it will fail.
I modified the last line of dremio-configmap.yaml (in templates folder):
{{ (tpl (.Files.Glob “configs/*”).AsConfig . ) | nindent 2 }}
Have you tried downloading the latest charts and trying this again? Another user reported something similar around the time of your original post. Or do you still see this error?
Error: template: dremio/templates/dremio-configmap.yaml:6:5: executing “dremio/templates/dremio-configmap.yaml” at <tpl (.Files.Glob “config/*”).AsConfig .>: error calling tpl: error during tpl function execution for "core-site.xml: "<?xml version=\\\"1.0\\\"?>\r\n\r\n \r\n{{- if and .Values.distStorage.type (ne .Values.distStorage.type \“local\”)\n }}\r\n \r\n {{- if eq .Values.distStorage.type\n \“aws\” }}\r\n \r\n fs.dremioS3.impl\r\n The\n FileSystem implementation. Must be set to com.dremio.plugins.s3.store.S3FileSystem\r\n\n \
Seems like for @rafaleon15 there were some special characters like carriage return that crept into the file. If you vi the helm chart, does it look ok?