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

Sqoop should not allow --as-parquetfile with hcatalog jobs or when hive import with create-hive-table is used

    XMLWordPrintableJSON

    Details

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

      Description

      sqoop import ... --create-hcatalog-table --hcatalog-table --as-parquetfile

        Error: java.lang.RuntimeException: Should never be used
             	at org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat.getRecordWriter(MapredParquetOutputFormat.java:76)
             	at org.apache.hive.hcatalog.mapreduce.FileOutputFormatContainer.getRecordWriter(FileOutputFormatContainer.java:103)
      

      This should not run and should display a validation error as it does for both --as-sequencefile and --as-avrodatafile but the job runs and fails later with RuntimeException

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sowmyaramesh Sowmya Ramesh
                Reporter:
                sowmyaramesh Sowmya Ramesh
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: