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

IndexOutOfBoundsException exceptions in SqoopClient

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.99.7
    • Fix Version/s: 1.99.8
    • Component/s: sqoop2-client
    • Labels:
      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

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

              Dates

              • Created:
                Updated: