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

Fix Avro import not to fail with Javac errors in case of non UTF-8 locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.7
    • None
    • None

    Description

      The current implementation of Sqoop will fail to compile the ClassWriter generated Java class in case of UTF-8 characters are available in the database but the running host don't have UTF-8 or not supporting that.

      Meanwhile we'd like to keep up the support of UTF-8 characters for example in Avro schemas.

      A good example for that TestAvroImport#testNonstandardCharactersInColumnName fails if executed form a shell/env with non UTF-8 locale.

      We have to provide an implementation reflects this.

      Attachments

        1. SQOOP-3074.patch
          3 kB
          Attila Szabo

        Issue Links

          Activity

            People

              maugli Attila Szabo
              maugli Attila Szabo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: