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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

          Activity

            People

            • Assignee:
              szonyi Anna Szonyi
              Reporter:
              szonyi Anna Szonyi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment