# tHiveConfiguration properties for Apache Spark Structured Streaming

[Preview](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/feature-preview-program-overview.htm)

These properties are used to configure tHiveConfiguration running in the Spark Structured Streaming Job framework.

The Spark Structured Streaming tHiveConfiguration component belongs to the Databases family.

The streaming version of this component is available in Talend Real-Time Big Data Platform and in Talend Data Fabric.

## Basic settings

| Properties | Description |
| --- | --- |
| Property Type | Select the way the connection details<br>will be set.<br><br><ul> <li> <p> <span>Built-In</span>: The connection details will be set                                locally for this component. You need to specify the values for all                                related connection properties manually.</p> </li> <li> <p> <span>Repository</span>: The connection details stored                                centrally in <span><span>Repository</span><abbr> &gt; </abbr><span>Metadata</span></span> will be reused by this component. </p> <p>You need to click                                the <span>[...]</span> button next to it and in the pop-up                                    <span>Repository Content</span> dialog box, select the                                connection details to be reused, and all related connection                                properties will be automatically filled in.</p> </li> </ul> |
| Hive thrift metastore | Enter the location of the metastore of the Hive system to be used by<br>specifying the name of its Host and the number<br>of its listening Port. If HA metastore has been<br>defined for this Hive system, select the Enable high<br>availability check box and in the field that is displayed, enter the<br>URIs of the multiple remote metastore services, each being separated with a<br>comma(,). |
| Use kerberos authentication | If you are accessing a Hive metastore running with Kerberos security,<br>select this checkbox.<br><br>Then you need to enter the Hive principal that should have been defined in<br>the *hive-site.xml* file of the cluster to be used.<br><br><br>Hive principal uses the value<br>of *hive.metastore.kerberos.principal*. This is<br>the service principal of the Hive metastore. |
| Spark catalog | Select the Spark implementation to use.<br><br><ul> <li> <span>In-memory</span>: select this value                                                if you set the <span>Hive thrift                                                  metastore</span> to a Hive metastore that is                                                not an external metastore.</li> <li> <span>Hive</span>: select this value if                                                you set the <span>Hive thrift                                                  metastore</span> to an external Hive                                                metastore that exists outside of your cluster.</li> </ul> |

## Usage

| Usage guidance | Description |
| --- | --- |
| Usage rule | This component is used standalone. Add it to the same Job as the Hive-related<br>subJob so that the configuration is available to the whole Job at runtime.<br><br>This component, along with the Spark Structured Streaming component Palette it belongs to,<br>appears only when you are creating a Spark Structured Streaming Job. |
| Spark Connection | In the Structured Streaming Configuration tab of the<br>Run view, define the connection to the Spark cluster for<br>the whole Job. Specify the directory to which the Job's dependent JAR files<br>are transferred so Spark can access them.<br><br>This connection is effective on a per-Job basis. |