Create New BucketFS Service

This section explains how to create a new BucketFS service.

Each configured data disk in Exasol has a preinstalled default BucketFS service. The default BucketFS service includes a default bucket that contains preinstalled script languages (Java, Python, R). You can create and configure any number of buckets within the default BucketFS service. If you want to make files available on different ports, or if you want to store larger files in BucketFS, we recommend that you create a new BucketFS service.

Prerequisites

There are no prerequisites for this procedure.

Procedure

This procedure is carried out using ConfD.

The following examples use ConfD through the command-line tool confd_client, which is accessible on all database nodes. You can also access ConfD through XML-RPC in your own Python programs. For more information, see ConfD.

Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.

  1. Connect to EXAClusterOS (COS) using c4 connect -t<DEPLOYMENT>/cos. For example:

    c4 connect -t1/cos

    If you do not specify a node, you will be connected to the first node in the deployment. If the cluster is configured with an access node, the first node is the access node (usually n10). The COS command prompt will tell you which node you are currently connected to:

    [root@n10 ~]#

    For more information about c4 commands, see Exasol Deployment Tool (c4).

  2. To create a BucketFS service, use the ConfD job bucketfs_add. For example:

    confd_client -c bucketfs_add -a '{bucketfs_name: BUCKETFS_NAME, http_port: 0, https_port: 2582, owner: [500,500]}'

Verification

To verify that the BucketFS service was created, use the ConfD job bucketfs_list:

confd_client -c bucketfs_list

The output is similar to the following:

- bfsdefault
- bucketfs1

Next steps

When the BucketFS service has been created, you can add buckets to store files or data. For more information, see Create New Bucket.