You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/12/16 10:44:00 UTC
[jira] [Updated] (HDDS-4601) envtoconf broken for .conf and few
other formats
[ https://issues.apache.org/jira/browse/HDDS-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-4601:
---------------------------------
Labels: pull-request-available (was: )
> envtoconf broken for .conf and few other formats
> ------------------------------------------------
>
> Key: HDDS-4601
> URL: https://issues.apache.org/jira/browse/HDDS-4601
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: docker
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
>
> {{envtoconf}} does not work for some output formats:
> * {{.env}}
> * {{.sh}}
> * {{.cfg}}
> * {{.conf}}
> To reproduce:
> {code:title=docker run -it --rm -e DUMMY.CONF_key=value apache/ozone:1.0.0}
> Traceback (most recent call last):
> File "/opt/hadoop/libexec/envtoconf.py", line 117, in <module>
> Simple(sys.argv[1:]).main()
> File "/opt/hadoop/libexec/envtoconf.py", line 108, in main
> self.transform()
> File "/opt/hadoop/libexec/envtoconf.py", line 96, in transform
> content = transformer_func(content)
> File "/opt/hadoop/libexec/transformation.py", line 121, in to_conf
> for key, val in props:
> ValueError: too many values to unpack
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org