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

Incorrect permissions on manager.d directory can lead to NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.4
    • 1.4.6
    • None

    Description

      I got a report that when files in manager.d have incorrect permissions (Sqoop can't read them), we will get following NPE:

      14/07/17 08:43:46 ERROR tool.BaseSqoopTool: Got error creating database manager: java.lang.NullPointerException
      at java.util.Arrays.sort(Arrays.java:1078)
      at org.apache.sqoop.ConnFactory.loadManagersFromConfDir(ConnFactory.java:289)
      at org.apache.sqoop.ConnFactory.instantiateFactories(ConnFactory.java:85)
      

      Attachments

        1. SQOOP-1387-4.patch
          0.9 kB
          Chiwan Park
        2. SQOOP-1387-3.patch
          0.9 kB
          Chiwan Park
        3. SQOOP-1387-2.patch
          0.9 kB
          Chiwan Park
        4. SQOOP-1387.patch
          1 kB
          Chiwan Park

        Activity

          People

            chiwanpark Chiwan Park
            jarcec Jarek Jarcec Cecho
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: