Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21698

TezSessionState#ensureLocalResources() causes IndexOutOfBoundsException while localizing resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 4.0.0-alpha-1
    • Query Processor, Tez
    • None

    Description

      The cause of exception is due to this loops over newFilesNotFromConf and tries to access newResources.get in that.

      Size of newResources is determined by utils.localizeTempFiles() here which may return a smaller list depending upon the skipFilesFromConf and this would result in newResources.size() < newFilesNotFromConf.length causing IndexOutOfBounds.

      Attachments

        1. HIVE-21698.2.patch
          8 kB
          Naresh P R
        2. HIVE-21698.1.patch
          7 kB
          Naresh P R
        3. HIVE-21698.patch
          7 kB
          Naresh P R

        Activity

          People

            nareshpr Naresh P R
            ShubhamChaurasia Shubham Chaurasia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: