[ 
https://issues.apache.org/jira/browse/TOREE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042940#comment-16042940
 ] 

Xin Wu commented on TOREE-411:
------------------------------

For the Toree kernel, can you do {code} 
spark.conf.get("spark.sql.catalogImplementation"){code} ? This is to see if 
spark sql is using the in-memory catalog or hive. 

> Hive tables are not visible from Toree
> --------------------------------------
>
>                 Key: TOREE-411
>                 URL: https://issues.apache.org/jira/browse/TOREE-411
>             Project: TOREE
>          Issue Type: Bug
>          Components: Kernel
>         Environment: hadoop-2.7.3 Spark 2.1.0 Hive 2.1
>            Reporter: Alex Adria Cuadripani
>              Labels: hadoop, hive, spark
>
> I am trying to work with Hive tables but is impossible to see it with toree.
> I do:
> from pyspark.sql import SparkSession
> spark = 
> SparkSession.builder.master("spark://spark-master-01:7077").enableHiveSupport().getOrCreate()
> spark.sql("show tables").show()
> It works perfectly in pyspark kernel (ipykernel), but in toree kernel it 
> returns an empty list.
> I have seen issue 353, but I don't know if it is the same issue, or what I 
> have to do exactly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to