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

Support overriding log4j.properties per job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • None
    • None
    • 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

              junping_du Junping Du
              junping_du Junping Du
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: