Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3191

Log object should be initialized with its own class

    XMLWordPrintableJSON

    Details

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

      Description

      In ContainerImpl and ApplicationImpl class, Log object is initialized with interface name. This causes in logging happen with interface class.
      private static final Log LOG = LogFactory.getLog(Container.class);
      private static final Log LOG = LogFactory.getLog(Application.class);

      it should be
      private static final Log LOG = LogFactory.getLog(ContainerImpl.class);
      private static final Log LOG = LogFactory.getLog(ApplicationImpl.class);

        Attachments

        1. 0001-YARN-3191.patch
          2 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: