You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by anna stax <an...@gmail.com> on 2018/07/06 23:10:29 UTC
Unable to see the table created using saveAsTable From Beeline.
Please help!
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)
Re: Unable to see the table created using saveAsTable From Beeline.
Please help!
Posted by Mich Talebzadeh <mi...@gmail.com>.
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 <an...@gmail.com> wrote:
> Is some configuration missing ? Appreciate any help
>
> On Fri, Jul 6, 2018 at 4:10 PM, anna stax <an...@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)
>>
>>
>
Re: Unable to see the table created using saveAsTable From Beeline.
Please help!
Posted by anna stax <an...@gmail.com>.
Is some configuration missing ? Appreciate any help
On Fri, Jul 6, 2018 at 4:10 PM, anna stax <an...@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)
>
>