Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4051

HOP_OPTIONS and multiple values in docker not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • Not applicable
    • docker
    • None

    Description

      What I am trying to accomplish is add these in the docker run command: 

                  --env HOP_OPTIONS=-XX:+UseParallelGC Xmx2g -Xmx30g \

      I get this message:
               "docker: invalid reference format: repository name must be lowercase"

      When I put the settings in quotes (tried single and double quotes to same result):  

                --env HOP_OPTIONS="-XX:+UseParallelGC Xmx2g -Xmx30g"\

      I get this message: 
               "Error: Could not find or load main class Xmx2g"

      And here is what was actually sent in: (notice the whole env var is single quoted)
                 --env 'HOP_OPTIONS=-XX:+UseParallelGC Xmx2g -Xmx30g'
      The docker command does not like the space and Hop doesn't like quotes

      Attachments

        Activity

          People

            Unassigned Unassigned
            dcampen Dave Campen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: