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

Log object should be initialized with its own class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • nodemanager
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: