Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-852

Remove unnecessary stdout printing from apache/hadoop-runner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Latest apache/hadoop-runner always prints out an informal line before executing anything:

      docker run apache/hadoop-runner ls
      Setting up environment!
      ...
      

      This "Setting up environment!" line is always there.

      Here I propose to delete this one line from the starter script.

      REASONING:

      As I proposed in HDDS-851 we can provide very easy way to getting started with ozone with executing commands inside the official apache/ozone docker image:

      For example:

      docker run apache/ozone cat docker-compose.yaml > docker-compose.yaml
      

      This pattern (executing command inside + redirecting the output) can't be done with this generic "Setting up environment!" line.

      I think it's safe to delete as all the optional steps (kerberos init, wait for additional services, generate configs, etc) could have separated (non-default) logging lines.

      Attachments

        1. HDDS-852-docker-hadoop-runner.002.patch
          0.4 kB
          Marton Elek
        2. HDDS-852-docker-hadoop-runner.001.patch
          0.6 kB
          Marton Elek

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: