Uploaded image for project: 'Sqoop (READ-ONLY)'
  1. Sqoop (READ-ONLY)
  2. SQOOP-45

If compilation dir is unspecified, use a nonce directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: codegen
    • Labels:
      None

      Description

      If multiple sqoop jobs are triggered at the same time (e.g., by cron) and import different subsets of the same table, their codegen processes can race in their use of the filesystem (specifically, the auto-generated .java, .class, and .jar files) causing some imports to fail.

      If the user does not specify a directory target for --bin-dir, this should result in using a directory guaranteed to not conflict with other processes. Related, source code (.java files) should be generated in this one-off directory and then copied into the user's working directory.

        Attachments

          Activity

            People

            • Assignee:
              aaron Aaron Kimball
              Reporter:
              aaron Aaron Kimball
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: