spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mich Talebzadeh <mich.talebza...@gmail.com>
Subject Re: Unable to see the table created using saveAsTable From Beeline. Please help!
Date Sat, 07 Jul 2018 22:25:59 GMT
Hi Anna,

Google this

Spark Dataframe and HIVE

HTH

Dr Mich Talebzadeh



LinkedIn * https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
<https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*



http://talebzadehmich.wordpress.com


*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.




On Sat, 7 Jul 2018 at 16:12, anna stax <annastax80@gmail.com> wrote:

> Is some configuration missing ? Appreciate any help
>
> On Fri, Jul 6, 2018 at 4:10 PM, anna stax <annastax80@gmail.com> wrote:
>
>> I am  running spark 2.1.0 on AWS EMR
>>
>> In my Zeppelin Note I am creating a table
>>
>>     df.write
>>     .format("parquet")
>>       .saveAsTable("default.1test")
>>
>> and I see the table when I
>>
>> spark.catalog.listTables().show()
>> +--------------------+--------+-----------+---------+-----------+
>> |                name|database|description|tableType|isTemporary|
>> +--------------------+--------+-----------+---------+-----------+
>> |               1test| default|       null|  MANAGED|      false|
>>
>>
>> From Beeline client, I don’t see the table
>>
>> 0: jdbc:hive2://localhost:10001/> show tables;
>> +-----------+------------+--------------+--+
>> | database  | tableName  | isTemporary  |
>> +-----------+------------+--------------+--+
>> +-----------+------------+--------------+--+
>> No rows selected (0.115 seconds)
>>
>>
>

Mime
View raw message