Skip to content

Presto

Steps to setup Presto


Fill the form with the credentials of your data source.

Screenshot Screenshot

Once the form is completed, it's necessary to test the connection to verify if Qualytics is able to connect to your source of data. A successful message will be shown:

Screenshot Screenshot

Warning

By clicking on the Finish button, it will create the Datastore and skipping the configuration of an Enrichment Datastore.

  • To configure an Enrichment Datastore in another moment, please refer to this section

Note

It is important to associate an Enrichment Datastore with your new Datastore

  • The Enrichment Datastore will allow Qualytics to record enrichment data, copies of the source anomalous data and additional metadata for your Datastore

Configuring an Enrichment Datastore

Warning

Qualytics does not support Hive connector as an enrichment datastore, but you can point to a different connector.

  • To configure an Enrichment Datastore in another moment, please refer to this section
  • If you have an Enrichment Datastore already setup, you can link it by enable to use an existing Enrichment Datastore and select from the list

  • If you don't have an Enrichment Datastore, you can create one at the same page.

Once the form is completed, it's necessary to test the connection. A successful message will be shown:

Screenshot Screenshot

Warning

By clicking on the Finish button, it will create the Datastore and link or create the Enrichment Datastore


Fields

Host required

  • The address of the server to connect to. This address can be a DNS or IP address.

Port required

  • The port to connect to on serverName.
  • The default is 8080.

    Note: If you're using the default, you don't have to specify the port

Catalog required

  • The catalog name to be connected.

Schema required

  • The schema name to be connected.
  • The default is default.

User required

  • The user to connect in Hive.

Password required

  • The password to connect in Hive.

SSL TrustStore required

  • A keystore file that contains certificates from other parties that you expect to communicate with or from Certificate Authorities that you trust to identify other parties

Configuring Presto for Hive Table Access Control:

Locate the Hive Connector Configuration File:

  • The configuration file for the Hive connector in Presto is typically named hive.properties and is located in the etc/catalog directory of your Presto installation. ​

Modify the Configuration:

  • Open the hive.properties file in a text editor.
  • Add or modify the line hive.allow-drop-table=true to allow dropping tables. If you set it to false, it will disallow dropping tables. ​

Restart Presto: - After making changes to the configuration, you'll need to restart Presto for the changes to take effect.

sudo systemctl stop presto-server
sudo systemctl start presto-server
  • Or, you can use the restart command to do it in one step:
sudo systemctl restart presto-server

Info

The hive.allow-drop-table configuration is just one of the many configurations available. If you want to control more granular permissions, such as read/write access, you might need to look into using a combination of Hive's native permissions and the configurations available in Presto.


Last update: April 27, 2024