Create New BucketFS Service

Exasol provides a default BucketFS service preinstalled for the configured data disk. This default BucketFS service includes a default bucket which contains preinstalled script languages: Java, Python, and R. You can create and configure any number of buckets within this BucketFS service. Creating a new BucketFS service is a good approach when you want to make files available on different ports or you store larger files.

Prerequisites

There are no prerequisites for this procedure.

Procedure

This procedure is carried out using ConfD.

The ConfD examples are written in Bash on a Linux terminal running the Exasol tool confd_client, which is accessed by connecting to EXAClusterOS on the database nodes using Exasol Deployment Tool (c4). You can also interact with ConfD from an external tool using Python and XML-RPC. 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

You can verify that the BucketFS service was created using the ConfD job bucketfs_list:

confd_client -c bucketfs_list

The output is similar to the following:

- bfsdefault
- bucketfs1

Next Steps

Now that you have a BucketFS service created, you can start creating new buckets to store files or data within this BucketFS service. For more information, refer to the Create New Buckets in BucketFS Service section.

See Also