Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9907

NullPointerException in ParallelFileMetadataLoader's load() method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • None
    • None
    • ghx-label-12

    Description

      ParallelFileMetadataLoader.loaders_ became a Map, but at one place we still treat it as a List:

      LOG.error(logPrefix_ + " encountered an error loading data for path " + loaders_.get(i).getPartDir(), e);
      

      'i' is an integer, while the loaders_'s key type is Path.

      Unfortunately the code compiles which means we get a NullPointerException for this statement.

      Attachments

        Activity

          People

            boroknagyz Zoltán Borók-Nagy
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: