Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-3250

IndexOutOfBoundsException exceptions in SqoopClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.99.7
    • 1.99.8
    • sqoop2-client
    • None

    Description

      There are a bunch of potential IndexOutOfBoundsException exceptions in SqoopClient, caused by returning .get(0) on a list which could potentially be empty.

      In particular, there is a problem with reading a Job, if the caller does not have the permission to read the given Job. Previous Sqoop versions returned an exception, but 1.99.7 returns an empty list, leading to a IndexOutOfBoundsException exception.

      Attachments

        1. SQOOP-3250.patch
          7 kB
          Colm O hEigeartaigh

        Activity

          People

            Unassigned Unassigned
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: