Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2687

Remove /usr/share/java/*.jar from Sqoop2 catalina.properties

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently we are adding /usr/share/java/*.jar to common.loader in Sqoop2 catalina.properties.
      This causes unexpected libraries to end up on the classpath, which currently causes problems.
      This was added as a convenient feature, so users wouldn't have to do anything else other than install drivers and it would be accessible automatically by Sqoop2.

      Instead users should explicitly copy or symlink the driver jars under /var/lib/sqoop2/*.jar , which is an isolated directory especially made for this purpose.

        Issue Links

          Activity

          Hide
          szonyi Anna Szonyi added a comment -

          Thank you Roman Shaposhnik!

          Show
          szonyi Anna Szonyi added a comment - Thank you Roman Shaposhnik !
          Hide
          rvs Roman Shaposhnik added a comment -

          Thanks for the patch! Committed!

          Show
          rvs Roman Shaposhnik added a comment - Thanks for the patch! Committed!

            People

            • Assignee:
              Unassigned
              Reporter:
              szonyi Anna Szonyi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development