Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17436

envtoconf broken for .conf and few other formats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • scripts
    • None

    Description

      envtoconf does not work for some output formats:

      • .env
      • .sh
      • .cfg
      • .conf

      To reproduce:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: