log4j.logger.org.apache.spark.sql.hive.client.IsolatedClientLoader=ALL
IsolatedClientLoader Utility
IsolatedClientLoader
is created for HiveUtils
utility for newClientForExecution and newClientForMetadata.
Tip
|
Enable Add the following line to Refer to Logging. |
Creating IsolatedClientLoader Instance
IsolatedClientLoader
takes the following to be created:
-
Hadoop Configuration
-
Root
ClassLoader
(default:ClassLoader.getSystemClassLoader.getParent.getParent
) -
Base class
ClassLoader
(default:Thread.currentThread().getContextClassLoader
)
IsolatedClientLoader
initializes the internal properties.
Hive Metastore Version — hiveVersion
Utility
hiveVersion(
version: String): HiveVersion
hiveVersion
creates a HiveVersion
based on the input version
.
Acceptable versions and synonyms:
-
12
,0.12
,0.12.0
-
13
,0.13
,0.13.0
,0.13.1
-
14
,0.14
,0.14.0
-
1.0
,1.0.0
-
1.1
,1.1.0
-
1.2
,1.2.0
,1.2.1
,1.2.2
-
2.0
,2.0.0
,2.0.1
-
2.1
,2.1.0
,2.1.1
-
2.2
,2.2.0
-
2.3
,2.3.0
,2.3.1
,2.3.2
,2.3.3
Note
|
|
Creating IsolatedClientLoader for Given Hive Metastore Version — forVersion
Utility
forVersion(
hiveMetastoreVersion: String,
hadoopVersion: String,
sparkConf: SparkConf,
hadoopConf: Configuration,
config: Map[String, String] = Map.empty,
ivyPath: Option[String] = None,
sharedPrefixes: Seq[String] = Seq.empty,
barrierPrefixes: Seq[String] = Seq.empty,
sharesHadoopClasses: Boolean = true): IsolatedClientLoader
forVersion
…FIXME
Note
|
forVersion is used when HiveUtils utility is used to newClientForMetadata.
|
Creating HiveClient — createClient
Method
createClient(): HiveClient
createClient
…FIXME
Note
|
|