Member since
12-30-2015
6
Posts
4
Kudos Received
0
Solutions
01-29-2016
01:39 PM
1 Kudo
Thanks a lot for your help. Effectively, if the data was stored already with timetamp type and the we change the type, the select will not work and we will have the ClassCastException. If no data was alreday stored with the timestamp type (all values are null) and then we change the type , the select works fine.
... View more
01-29-2016
01:18 PM
hello, I am using hive 1.2.1. I executed the following command to change the type of a column from timestamp to date ALTER TABLE table_name CHANGE column_name column_name date CASCADE; the command was executed successfully. when i want to retrieve the data from the table using: select * from table_name I got the following error: Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.io.TimestampWritable cannot be cast to org.apache.hadoop.hive.serde2.io.DateWritable thanks for help.
... View more
Labels:
- Labels:
-
Apache Hive
01-07-2016
10:03 AM
3 Kudos
Hello, I tried to connect to hive using jdbc but i had the following error: Error: Could not open client transport with JDBC Uri: jdbc:hive2://server:10000/;principal=<Server_Principal_of_HiveServer2>
java.net.ConnectException: Connection refused (state=08S01,code=0) I got the same error from beeline : beeline -u 'jdbc:hive2://server:10000/;principal=<Server_Principal_of_HiveServer2>' I will be thankfull for your help. thanks Hive version: 1.2.1 HDP: 2.3
... View more
Labels:
- Labels:
-
Apache Hive
01-04-2016
12:42 PM
Hello Eric, Thank you fro response. I will try it and will let you know the result.
... View more
12-31-2015
03:37 PM
thank you very much 🙂 I suspected that is a bug.
... View more
12-31-2015
12:43 PM
Hello, I have many open transactions on table that i cant' delete. Even if i delete the table, transactions are still open. There is a way to rollback these transactions? There is a way to kill pending locks? Hive version : 1.2.1 Thanks
... View more
Labels:
- Labels:
-
Apache Hive