Accessing the Oozie server with the Oozie CLIent

The Oozie client is a command-line utility that interacts with the Oozie server using the Oozie web-services API.

  • Use the /usr/bin/oozie script to run the Oozie client.
    For example, if you want to invoke the client on the same machine where the Oozie server is running:
    $ oozie admin -oozie http://localhost:11000/oozie -status
    System mode: NORMAL
  • To make it convenient to use this utility, set the environment variable OOZIE_URL to point to the URL of the Oozie server. Then you can skip the -oozie option.
    For example, if you want to invoke the client on the same machine where the Oozie server is running, set the OOZIE_URL to http://localhost:11000/oozie.
    $ export OOZIE_URL=http://localhost:11000/oozie
    $ oozie admin -version
    Oozie server build version: 4.0.0-cdh5.0.0