Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6052

Support overriding log4j.properties per job

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      For current MR application, the "log4j.configuration" is hard coded to container-log4j.properties within each node. We still need flexibility to override it per job like what we do in MRV1.

        public static void addLog4jSystemProperties(
            String logLevel, long logSize, int numBackups, List<String> vargs) {
          vargs.add("-Dlog4j.configuration=container-log4j.properties");
      

        Attachments

        1. MAPREDUCE-6052.patch
          7 kB
          Junping Du
        2. MAPREDUCE-6052-v2.patch
          8 kB
          Junping Du
        3. MAPREDUCE-6052-v3.patch
          15 kB
          Junping Du
        4. MAPREDUCE-6052-v4.patch
          15 kB
          Junping Du

          Issue Links

            Activity

              People

              • Assignee:
                djp Junping Du
                Reporter:
                djp Junping Du
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: