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

Run TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMAuthorization tests with hadoop.security.token.service.use_ip enabled

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:

      Description

      All YARN test cases are running with hadoop.security.token.service.use_ip disabled. As a result few tests TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMRMTokens cases are consistently failing because of unable to resolve hostname(see HADOOP-12687 YARN-4306 YARN-4318)

      I would suggest to run tests with hadoop.security.token.service.use_ip enabled by default. And for the HA test cases which require mandatory disabling , change test cases as required by setting

      conf.setBoolean(
              CommonConfigurationKeys.HADOOP_SECURITY_TOKEN_SERVICE_USE_IP, false);
          SecurityUtil.setConfiguration(conf);
      

        Attachments

        1. 0005-YARN-5208.patch
          8 kB
          Rohith Sharma K S
        2. 0005-YARN-5208.patch
          9 kB
          Rohith Sharma K S
        3. 0004-YARN-5208.patch
          8 kB
          Rohith Sharma K S
        4. 0003-YARN-5208.patch
          10 kB
          Rohith Sharma K S
        5. 0002-YARN-5208.patch
          10 kB
          Rohith Sharma K S
        6. 0001-YARN-5208.patch
          7 kB
          Rohith Sharma K S

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: