Member since
03-23-2015
1288
Posts
114
Kudos Received
98
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4365 | 06-11-2020 02:45 PM | |
| 5981 | 05-01-2020 12:23 AM | |
| 3799 | 04-21-2020 03:38 PM | |
| 4061 | 04-14-2020 12:26 AM | |
| 3030 | 02-27-2020 05:51 PM |
05-08-2019
11:31 PM
Hi, In that case, another thing I can think of is how often you update this JAR file and how often you see the error? Not sure if it could be the case that the JAR was replaced/updated while the reloading happened, hence the corrupted file (reading in the middle of updating) might be causing some classes not being loaded properly?
... View more
05-07-2019
10:28 PM
1 Kudo
Hi Vibin, I can see that this issue is tracked under HIVE-6980 on the upstream JIRA. And I can confirm that it has been fixed in CDH6.1 and CDH5.16 onwards. If you are using older version, you can try to increase the value for hive.metastore.client.socket.timeout as a workaround as mentioned in the previous post. Hope above is helpful. Cheers Eric
... View more
05-07-2019
09:35 PM
3 Kudos
If you change column order, it will affect existing data, so the new position of the column will match different data, that's OK for you?
... View more
05-07-2019
09:24 PM
Hi, How big is the JAR file? Since it is running a Map Join, it runs on HS2 itself, and it will copy the JAR file locally on the HS2 host, and I think it might be under /tmp, but not 100% sure. So one thing I think you should check is the disk space. If at the time the disk was full, it might cause this kind of issue. Maybe check this first before anything else. Eric
... View more
05-07-2019
09:18 PM
As Manpreet mentioned, it is better to run in Beeline and check the error message in HiveServer2 log, which can tell more about the story. Eric
... View more
05-07-2019
09:15 PM
1 Kudo
I don't see super easy way, but below might help: 1. if this table is not external, make it external first: ALTER TABLE <table> SET TBLPROPERTIES('EXTERNAL'='TRUE') 2. drop the table 3. create a new table and define same partition column 4. manually move files in another 4 partition directories into the 6 partition directories that you want to keep evenly 5. remove the empty directories under the table 6. msck repair table to recover the 6 current partitions Hope above can help. Eric
... View more
05-07-2019
09:08 PM
2 Kudos
Hi, The easiest way I can see is to: 1. drop the table (since it is external, data should NOT be dropped) 2. create a new table on top of it and specify as partitioned by ColumnA of type timestamp (the column name should remain the same as before, can't be changed to ColumnB, otherwise step 3 will not be able to pick it up) 3. run "msck repair table {tablename}" to recover the partitions This assumes that the partition values will remain unchanged. Hope this can help.
... View more
05-07-2019
09:04 PM
Hi, When you are saying "I set all timeout parameters to 0,", can you please confirm what timeouts you set? From client side or Hive server side? Have you tried to increase the SocketTimeout on the ODBC driver side: https://www.cloudera.com/documentation/other/connectors/hive-odbc/latest/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf on page 81.
... View more