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

Sqoop should not check incremental constraints for HBase imports

    XMLWordPrintableJSON

Details

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

    Description

      ImportTool#initIncrementalConstraints method is invoked for every import in Sqoop and it can throw the following error even for HBase imports:

      --merge-key or --append is required when using --incremental lastmodified and the output directory exists.

      The task is to fix the validation not to throw an exception when importing into an HBase table since in that case it does not matter if the table directory exists on HDFS.

      Attachments

        1. SQOOP-3353.patch
          8 kB
          Vasas Szabolcs

        Issue Links

          Activity

            People

              vasas Vasas Szabolcs
              vasas Vasas Szabolcs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: