[
https://issues.apache.org/jira/browse/HADOOP-17436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629950#comment-17629950
]
Nikolay Ivanitskiy commented on HADOOP-17436:
---------------------------------------------
this error is not related with the format. it's error in the code of
/opt/transaormation.py
you can use following workaround:
USER root
RUN sed 's/for key, val in props:/for key, val in props.items():/' -i
/opt/transformation.py
USER hadoop
> envtoconf broken for .conf and few other formats
> ------------------------------------------------
>
> Key: HADOOP-17436
> URL: https://issues.apache.org/jira/browse/HADOOP-17436
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> {{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/hadoop:3}
> Traceback (most recent call last):
> File "/opt/envtoconf.py", line 117, in <module>
> Simple(sys.argv[1:]).main()
> File "/opt/envtoconf.py", line 108, in main
> self.transform()
> File "/opt/envtoconf.py", line 96, in transform
> content = transformer_func(content)
> File "/opt/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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]