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

LevelDBCacheTimelineStore should reuse ObjectMapper instances

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Using TezUI sometimes times out...and the cause of it was that the query was quite large; and the leveldb handler seems like recreates the ObjectMapper for every read - this is unfortunate; since the ObjectMapper have to rescan the class annotations which may take some time.

      Keeping the objectmapper reduces the ATS call time from 17 seconds to 3 seconds for me...which was enough to get my tez-ui working again

      Attachments

        1. Screen Shot 2017-06-23 at 2.43.06 PM.png
          83 kB
          Zoltan Haindrich
        2. YARN-6738.1.patch
          1 kB
          Zoltan Haindrich
        3. YARN-6738.2.patch
          1 kB
          Zoltan Haindrich

        Activity

          People

            kgyrtkirk Zoltan Haindrich
            kgyrtkirk Zoltan Haindrich
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: