Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • None
    • 1.4.7
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: