Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Namespaces, their use and examples, are described in the Namespaces.

The definition of namespace names supported by this API is described under Names and Characters for Namespace Identifiers.

All methods or endpoints described in this API have a base URL (typically http://<host>:11015 or https://<host>:10443) that precedes the resource identifier, as described in the Microservices Conventions. These methods return a status code, as listed in the Microservices Status Codes.

...

The namespace-id must be of the limited character set for namespaces, as described in the Introduction. Properties for the namespace are passed in the JSON request body:

...

HTTP Method

PUT /v3/namespaces/dev/properties:

Code Block
{
  "description": "Namespace for development of applications",
  "config": {
    "scheduler.queue.name": "A",
  },
}

Description

Set the description property of the Namespace named dev, and set the scheduler.queue.name to A.

...

Configuration Name

Description

hbase.namespace

The pre-existing HBase namespace to be used for the namespace (CDAP Distributed mode only)

hive.database

The pre-existing Hive database to be used for the namespace

keytabURI

The URI of the Kerberos keytab file for the namespace

principal

The Kerberos principal for the namespace

groupName

The group name for the namespace. If present, the namespace's data directory is created with this group name, and read, write, and execute permissions are given to the group. The namespace principal must be a member of this group.

root.directory

The pre-existing file-system directory to be used for the namespace

scheduler.queue.name

Scheduler queue for CDAP programs and CDAP explore queries run in the namespace. See Scheduler queue for details.