Compare commits

...

4 Commits

Author SHA1 Message Date
Kent Yao
530cdbf241 Preparing Kyuubi v0.3.2 developing 2018-12-21 13:44:03 +08:00
Kent Yao
bd434c3c8b Preparing Kyuubi v0.3.1 release 2018-12-21 13:41:57 +08:00
Kent Yao
b91e2df5cd Merge pull request #134 from yaooqinn/KYUUBI-133
[KYUUBI-133]fix #133 token expiration in HadoopRDD getPartitions
2018-12-21 13:38:37 +08:00
Kent Yao
01e13dfde1 Prepare to release 0.3.0 2018-09-14 15:35:23 +08:00
3 changed files with 11 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<parent>
<artifactId>kyuubi</artifactId>
<groupId>yaooqinn</groupId>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -99,6 +99,7 @@ object KyuubiSparkUtil extends Logging {
val HDFS_CLIENT_CACHE_DEFAULT = "true"
val FILE_CLIENT_CACHE: String = SPARK_HADOOP_PREFIX + "fs.file.impl.disable.cache"
val FILE_CLIENT_CACHE_DEFAULT = "true"
val RDD_PAR_LISTING: String = SPARK_PREFIX + "rdd.parallelListingThreshold"
// Runtime Spark Version
val SPARK_VERSION: String = org.apache.spark.SPARK_VERSION
@ -275,6 +276,14 @@ object KyuubiSparkUtil extends Logging {
if (UserGroupInformation.isSecurityEnabled) {
conf.setIfMissing(HDFS_CLIENT_CACHE, HDFS_CLIENT_CACHE_DEFAULT)
conf.setIfMissing(FILE_CLIENT_CACHE, FILE_CLIENT_CACHE_DEFAULT)
// If you are using Kyuubi against kerberized HDFS, you will run into HDFS_DELEGATION_TOKEN
// expiration in some particular sql queries. This exception is usually caught in
// HadoopRDD.getPartitions, where the JobConf has no Credentials because it is generated by
// Configuration, and the UGI.getCurrentUser contains only the oldest tokens which are
// destined to expire. The reason seems to be parallel listing UnionRDD's sub RDDs using a
// ForkJoinPool which points to another calling context. Turn off parallel listing seems
// to be a solution to this issue.
conf.setIfMissing(RDD_PAR_LISTING, Int.MaxValue.toString)
}
}

View File

@ -23,7 +23,7 @@
<groupId>yaooqinn</groupId>
<artifactId>kyuubi</artifactId>
<name>Kyuubi Parent</name>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.2-SNAPSHOT</version>
<modules>
<module>kyuubi-server</module>
</modules>