Working with Services

On This Page

Overview

The Services page of the platform dashboard displays information about running application services — which include both default services that are created as part of the platform's deployment (such as the web-APIs or Presto services) and user-defined services (such as Spark or Jupyter Notebook). A service administrator can create, delete, enable, disable, restart, and configure application services and view service logs. A user-defined service is typically assigned to a specific running user and can also optionally be shared with all other users in the same tenant. Except for service administrators, who can view all services, users can see and use only the services that they're running and shared services (including the default services). For more information about the platform's application services, see The Platform's Application Services. For information about the required permissions for viewing, running, and managing application services in the platform, see Security.

Note
  • When running an application service from another service, the service is executed using the permissions of the running user of the parent service. For example, if user "c" logs into a shared web-shell service for running-user "a", which is configured to work with a Spark service for running-user "b", and runs Spark from the web shell — Spark is executed with the permissions of user "a" (the running user of the parent web-shell service), and not as user "c" (the running user of the Spark service) or user "b" (the logged-in user of the shell service).

  • Check the product software specifications and restrictions and release notes for additional restrictions and known issues related to application services.

Creating a New Service

Follow these steps to create a new application service from the dashboard; note that you must have the Service Admin management policy to create a service:

  1. In the side navigation menu, select Services.

  2. On the Services page, select the New Service option from the top action toolbar.

  3. Select the desired service type, configure the required parameters (including the service's name and running user), and optionally configure additional parameters. You can also select to share the service with all users of the parent tenant.

    Note
    • Service resources — You can configure the memory and CPU resources for the service from the Resources section of the Common Parameters dashboard tab. In addition, for services such as Spark and Presto, you can configure the number of replicas (workers) for the service from the Custom Parameters tab. For empty parameter fields, the platform uses default system values. Note that the platform doesn't perform logical validation of your configuration. It's up to you to balance the resource needs of your application services, taking into account the available resources of your platform environment. When setting the resource limits, consider that an insufficient limit might result in the termination of the service. If you're using the Iguazio trial, remember that your environment has limited resources (see the trial evaluation overview).

    • Dependent services — Some services allow you to configure related services to be used by the new service, from among the services that are accessible to the selected running user. For example, you can configure a Spark service to be used for running Spark jobs from a web-based shell, Jupyter Notebook, or Zeppelin service. (The Zeppelin service requires that you configure a related Spark service; the Jupyter Notebook and web-shell services use an internal Spark service by default.)

    • Configuration changes — You can change the service's configuration at a later stage, after its initial deployment.

  4. Optionally repeat the previous steps to create as many services as you wish.

  5. When you're done defining services, remember to select Apply Changes from the top action toolbar, and wait for confirmation of a successful deployment. Note that the deployment might take a while to complete, depending on the amount and type of services that you create.

See Also