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

Sqoop should not check incremental constraints for HBase imports

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.7
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      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
          Szabolcs Vasas

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: