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

TestJobHistoryParsing#testPartialJob timeouts in some environments

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • test

    Description

      Rebasing the patch in MAPREDUCE-5392, I found TestJobHistoryParsing#testPartialJob timeout in my environments.

      Running org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing
      Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 106.007 sec <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing
      testPartialJob(org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing)  Time elapsed: 0.987 sec  <<< ERROR!
      java.lang.Exception: test timed out after 1000 milliseconds
              at org.apache.xerces.impl.XMLEntityScanner.scanQName(Unknown Source)
              at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
              at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
              at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
              at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150)
              at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2334)
              at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2322)
              at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2393)
              at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2346)
              at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2263)
              at org.apache.hadoop.conf.Configuration.get(Configuration.java:868)
              at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:887)
              at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1288)
              at org.apache.hadoop.security.SecurityUtil.<clinit>(SecurityUtil.java:70)
              at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:247)
              at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:235)
              at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:761)
              at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:746)
              at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:619)
              at org.apache.hadoop.mapreduce.v2.hs.TestJobHistoryParsing.testPartialJob(TestJobHistoryParsing.java:829)
      

      We should extend the timeout not to fail the test in slow machines.

      Attachments

        1. MAPREDUCE-6092.patch
          0.9 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: