Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4186

Limits: Fix init order regression from TEZ-4155

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1
    • 0.10.0, 0.9.3
    • None
    • None

    Description

      After TEZ-4155, the AM is not able to configure Limits parameters correctly, due to the following interaction.

        static {
          init(new TezConfiguration());
        }
      

      prevents setConfiguration from doing anything

        public synchronized static void setConfiguration(Configuration conf) {
          if (Limits.conf == null && conf != null) {
            init(conf);
          }
        }
      

      since the Limits.conf is never null.

      Attachments

        1. TEZ-4186.2.patch
          2 kB
          Gopal Vijayaraghavan
        2. TEZ-4186.1.patch
          2 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: