Skip to main content Skip to complementary content

tSnowflakeConfiguration properties for Apache Spark Batch

These properties are used to configure tSnowflakeConfiguration running in the Spark Batch Job framework.

The Spark Batch tSnowflakeConfiguration component belongs to the Databases family.

The component in this framework is available in all Talend products with Big Data and Talend Data Fabric.

Basic settings

Account

In the Account field, enter, in double quotation marks, the account name that has been assigned to you by Snowflake.

Region

Select an AWS or Azure region from the drop-down list.

Authentication method

Set the authentication method.

  • Key Pair: Select this option if key pair authentication is enabled. For more information about key pair authentication, see Using Key Pair Authentication.
Information noteNote: Before selecting the Key Pair option, make sure you have set the key pair authentication data in the Basic settings view of the tSetKeystore component as follows.
  • Leave the TrustStore type field unchanged;
  • Set TrustStore file to "";
  • Clear the TrustStore password field;
  • Select Need Client authentication;
  • Enter the path to the key store file in double quotation marks in the KeyStore file field (or click the […] button to the right of the KeyStore file field and navigate to the key store file);
  • Enter the key store file password in the KeyStore password field;
  • Clear the Check server identity option.
Information noteNote: The Key Pair option is available only with the EMR 5.29 and CDH 6.1 distributions when you are using Spark v2.4 and onwards in the Local Spark mode.
Username and Password

Enter, in double quotation marks, your authentication information to log in to Snowflake.

Database

Enter, in double quotation marks, the name of the Snowflake database to be used. This name is case-sensitive and is normally upper case in Snowflake.

Database Schema

Enter, within double quotation marks, the name of the database schema to be used. This name is case-sensitive and is normally upper case in Snowflake.

Warehouse

Enter, in double quotation marks, the name of the Snowflake warehouse to be used. This name is case-sensitive and is normally upper case in Snowflake.

Connection properties

Enter, in double quotation marks, a connection property and the associated value in the corresponding columns. You can find the properties available in Setting Configuration Options for the Connector from the official Snowflake documentation.

Advanced settings

Use Custom Region Select this check box to use the customized Snowflake region.
Custom Region Enter, within double quotation marks, the name of the region to be used. This name is case-sensitive and is normally upper case in Snowflake.

Usage

Usage rule

This component is used with no need to be connected to other components.

The configuration in a tSnowflakeConfiguration component applies only on the Snowflake related components that use this configuration and that are in the same Job.

Spark Connection

In the Spark Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
  • Yarn mode (Yarn client or Yarn cluster):
    • When using Google Dataproc, specify a bucket in the Google Storage staging bucket field in the Spark configuration tab.

    • When using HDInsight, specify the blob to be used for Job deployment in the Windows Azure Storage configuration area in the Spark configuration tab.

    • When using Altus, specify the S3 bucket or the Azure Data Lake Storage for Job deployment in the Spark configuration tab.
    • When using Qubole, add a tS3Configuration to your Job to write your actual business data in the S3 system with Qubole. Without tS3Configuration, this business data is written in the Qubole HDFS system and destroyed once you shut down your cluster.
    • When using on-premises distributions, use the configuration component corresponding to the file system your cluster is using. Typically, this system is HDFS and so use tHDFSConfiguration.

  • Standalone mode: use the configuration component corresponding to the file system your cluster is using, such as tHDFSConfiguration Apache Spark Batch or tS3Configuration Apache Spark Batch.

    If you are using Databricks without any configuration component present in your Job, your business data is written directly in DBFS (Databricks Filesystem).

This connection is effective on a per-Job basis.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!