Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

cannot be cast to org.apache.hadoop.hive.serde2.Deserializer #13

Open
akunyer opened this issue Jul 15, 2014 · 2 comments
Open

cannot be cast to org.apache.hadoop.hive.serde2.Deserializer #13

akunyer opened this issue Jul 15, 2014 · 2 comments

Comments

@akunyer
Copy link

akunyer commented Jul 15, 2014

Hi , I have this error when trying to /dt inside the console

PrestoQueryException: Query 20140715_193328_00033_wys9z failed: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException java.lang.ClassCastException: org.apache.hadoop.hive.contrib.serde2.RegexSerDe cannot be cast to org.apache.hadoop.hive.serde2.Deserializer

Thanks

@frsyuki
Copy link
Member

frsyuki commented Jul 16, 2014

I guess there is a problem in Presto (especially in hive connector).
Prestogres runs following query on Presto to get list of tables:

  • select table_schema, table_name, column_name, is_nullable, data_type" from information_schema.columns

Could you try to run this query using presto-cli? If it caused the same exception, that is a Presto's issue.

@akunyer
Copy link
Author

akunyer commented Jul 16, 2014

Ok ill try it and let you know the results. Thanks.

FURUHASHI Sadayuki notifications@github.com wrote:

IguessthereisaprobleminPresto(especiallyinhiveconnector).PrestogresrunsfollowingqueryonPrestotogetlistoftables:selecttable_schema,table_name,column_name,is_nullable,data_type"frominformation_schema.columnsCouldyoutrytorunthisqueryusingpresto-cli?Ifitcausedthesameexception,thatisaPresto'sissue.ReplytothisemaildirectlyorviewitonGitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants