![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spark
zhiaixiatian
这个作者很懒,什么都没留下…
展开
-
spark1.6升级2.3读取hive表报错NoSuchDatabaseException: Database 'ods' not found
升级完spark后,通过spark-submit 操作hive报错,如下: org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException: Database 'ods' not found; at org.apache.spark.sql.catalyst.catalog.SessionCatalog.org$ap...原创 2019-10-30 19:00:07 · 2264 阅读 · 2 评论 -
java.lang.SecurityException: class "javax.servlet.ServletRegistration"'s signer information does not
本地调试spark程序运行时会报错如下: Exception in thread "main" java.lang.SecurityException: class "javax.servlet.ServletRegistration"'s signer information does not match signer information of other classes in th...原创 2018-08-13 10:17:02 · 3405 阅读 · 1 评论 -
spark读取sqlserver数据BulkLoad到hbase
def load2hbase2(sc: SparkContext,tableName: String): Unit ={ val sqlContext = new SQLContext(sc) val properties = new Properties() properties.put("user","xxx") properties.put("passwo...原创 2018-08-13 10:29:21 · 1171 阅读 · 0 评论