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

TezSessionState#ensureLocalResources() causes IndexOutOfBoundsException while localizing resources

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 4.0.0
    • Component/s: Query Processor, Tez
    • Labels:
      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.patch
          7 kB
          Naresh P R
        2. HIVE-21698.1.patch
          7 kB
          Naresh P R
        3. HIVE-21698.2.patch
          8 kB
          Naresh P R

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: