Skip to content

fermitools/data_dispatcher

 
 

Repository files navigation

Data Dispatcher

File processing coordination service for use with MetaCat and Rucio

    # install Data Dispatcher Client
    $ pip install --user datadispatcher_client

    # set up the environment
    $ export DATA_DISPATCHER_URL=...
    $ export DATA_DISPATCHER_AUTH_URL=...
    $ export METACAT_SERVER_URL=...
    $ ddisp

    Data Dispatcher version: 1.2.1

    Usage:

    ddisp <commnd> <subcommand> <options> <args>

    Commands:

        worker [-n|<worker id>]                                - set or print my worker_id 
                                                                 -n generates new one
                                                                 worker id will be saved in <CWD>/.worker_id
        create project ...
        show project ...
        list projects ...
    
        show file [-j] <namespace>:<name>

        list handles [-s <status>] <project_id>                - list file handles, -s filters handles by status
        show handle [-j] <project_id> <namespace>:<name>       - show file handle, -j - as JSON

        next [-j] [-t <timeout>] <project_id>                  - get next available file, 
                                                                 -j - as JSON
                                                                 -t - wait for next file until "timeout" seconds, 
                                                                      otherwise, wait until the project finishes
        done <project_id> <namespace>:<name>                   - mark the file as successfully processed
        failed [-f] <project_id> <namespace>:<name>            - mark the file as failed, -f means "final", no retries

        delete project <project_id>
    
        login x509 <user> <cert> <key>
        login password <user>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 79.2%
  • HTML 19.1%
  • Other 1.7%