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

Create check/fail fast for Sqoop export with --hcatalog-table <HIVE_VIEW>, as it's not supported by Hive + MR

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      None

      Description

      When using sqoop export with --hcatalog-table, it fails with a NPE, as Hive + MapReduce does not support reading from or writing to views (the same works with HiveCli).
      See:
      https://cwiki.apache.org/confluence/display/Hive/HCatalog+CLI#HCatalogCLI-Create/Drop/AlterView

      We should fail earlier, with a more detailed message.

        Attachments

        1. SQOOP-3027.patch
          30 kB
          Anna Szonyi

          Issue Links

            Activity

              People

              • Assignee:
                szonyi Anna Szonyi
                Reporter:
                szonyi Anna Szonyi
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: