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

Fix usage of StringUtils.repeat method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.5
    • Fix Version/s: 1.4.6
    • Component/s: None
    • Labels:
      None
    • Environment:

      Hadoop 2.4.x, 2.5.x

      Description

      When I try to build sqoop with hadoop.version explicitly set to 2.4.0 or later, TestExportUsingProcedure compilation fails because StringUtils.repeat(String,String,int) method can not be resolved.

      Commons-lang introduced this in 2.5. Our ivy/libraries.properties still specifies 2.4. Even changing the commons-lang version to 2.5 does not fix it as we seem to inherit the 2.4 version through other dependencies.

        Attachments

        1. SQOOP-1474.diff
          0.8 kB
          Venkat Ranganathan

          Issue Links

            Activity

              People

              • Assignee:
                venkatnrangan Venkat Ranganathan
                Reporter:
                venkatnrangan Venkat Ranganathan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: