【发布时间】:2019-02-15 23:00:15
【问题描述】:
我想将 GlueMetaStore 与 spark.sql 一起使用。
为此,我配置了 EMR-Cluster (5.16) 并设置了以下配置:
{
"Classification":"hive-site",
"ConfigurationProperties":
{
"hive.metastore.client.factory.class":"com.amazonaws.glue.catalog.metastore.AWSGlueDataCatalogHiveClientFactory"
},
"Configurations":[]
},
{
"Classification":"spark-hive-site",
"ConfigurationProperties":
{
"hive.metastore.client.factory.class":"com.amazonaws.glue.catalog.metastore.AWSGlueDataCatalogHiveClientFactory"
},
"Configurations":[]
}
我使用 spark-core 查询 JupyterHub 中的数据库,但我只得到了默认数据库,它是空的。当它工作时应该有更多的数据库。
我是否需要 enbaleHiveSupport 或类似的东西才能使连接正常工作,如果是,我该如何在 JupterHub 中设置它,因为上下文已经加载?
【问题讨论】:
标签: apache-spark-sql amazon-emr aws-glue jupyterhub