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

Imports all tables as parquet will meet a NPE

    XMLWordPrintableJSON

Details

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

    Description

      When importing all tables, the options.getTableName() is not set. CodeGenTool should use tableName instead of options.getTableName().

      Test command:

      sqoop import-all-tables -m 12 --connect jdbc:mysql://`hostname`:3306/retail_db --username=... --password=... --compression-codec=snappy --as-parquetfile --warehouse-dir=/user/hive/warehouse --hive-import
      

      Attachments

        1. SQOOP-2372.2.patch
          5 kB
          Qian Xu
        2. SQOOP-2372.3.patch
          4 kB
          Qian Xu
        3. SQOOP-2372.patch
          1 kB
          Qian Xu

        Issue Links

          Activity

            People

              stanleyxu2005 Qian Xu
              stanleyxu2005 Qian Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: