Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

ImportJob

Erwan KOFFI edited this page Jun 20, 2018 · 2 revisions

Import job

This task allows you to import jobs from a zip file into Data Fabric.

The task can be launched with the command gradle importJob.

Configuration

Please note that during imports former jobs ids are lost.

Configuration object

Once your saagie object is available on your project with the server correctly set up, you need to fill the archive to be imported.

saagie {
    server {...}

    packaging {
        importFile = ''
        currentOnly = true
    }
}

The job import only works with the following job types:

  • Java/Scala
  • Spark
  • Python
  • R
  • Talend
  • SQOOP
  • Docker

The following are not yet supported:

  • Notebooks

Properties explanation

  • importFile

    • The archive file to import. Unitary imports are not compatible with full exports.
    • type: string
    • default:
  • currentOnly

    • By default only the current used version is imported. If all versions are to be created, set this flag to false.
    • type: boolean
    • default: true

Examples

saagie {
    server {...}

    packaging {
        importFile = 'my-cool-archive.zip'
    }
}

Clone this wiki locally