Member since
10-28-2020
624
Posts
47
Kudos Received
41
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 764 | 01-21-2026 01:59 AM | |
| 3986 | 02-17-2025 06:54 AM | |
| 9563 | 07-23-2024 11:49 PM | |
| 2028 | 05-28-2024 11:06 AM | |
| 2763 | 05-05-2024 01:27 PM |
06-21-2023
06:39 AM
@Choolake Try : entries=$((count2-count1)) This should work provided we have valid values on both variables.
... View more
06-14-2023
10:47 PM
@xiamu this error could appear if the data nodes are not healthy. Does the job fail repeatedly, or it succeeds at times? Have you tried running it with a different user? This is where it is failing: private void setupPipelineForAppendOrRecovery() throws IOException {
// Check number of datanodes. Note that if there is no healthy datanode,
// this must be internal error because we mark external error in striped
// outputstream only when all the streamers are in the DATA_STREAMING stage
if (nodes == null || nodes.length == 0) {
String msg = "Could not get block locations. " + "Source file \""
+ src + "\" - Aborting..." + this;
LOG.warn(msg);
lastException.set(new IOException(msg));
streamerClosed = true;
return;
}
setupPipelineInternal(nodes, storageTypes, storageIDs);
}
... View more
06-09-2023
08:47 AM
@snm1523 From beeline use sys;
select cd_id, count(cd_id) as column_count from columns_v2 group by cd_id order by cd_id asc; -- this will return column_count for each table Every individual table will have a unique cd_id. To map the table names with cd_id, try the following. select t.tbl_name, s.cd_id from tbls t join sds s where t.sd_id=s.sd_id order by s.cd_id asc; You could also merge the two queries to get the o/p together.
... View more
06-09-2023
05:36 AM
@snm1523 It should be SET FILEFORMAT INPUTFORMAT... Please try it as follows. ALTER TABLE alter_file_format_test SET FILEFORMAT INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe';
... View more
05-20-2023
11:37 PM
@mwblee I am not sure if you are using any Cloudera Hive distribution, if you are, consider upgrading to latest CDP version where we have fixed many issues around compactor initiator/worker/cleaner. e.g. For initiator: upstream Jiras - HIVE-21917, HIVE-22568, HIVE-22081 For this specific issue, you may check take a look at multiple factors, such as Hive metastore being overloaded, slow/large(certain txn related tables) metastore database. You may enable DEBUG logging in Hive metastore, and this will provide more information on why/where the compactor is stuck. If you are using opensource Hive, upgrade to Hive 4.x; you will have much better experience w.r.t. compaction.
... View more
05-12-2023
02:10 AM
@quangbilly79 cloudera-manager-server, daemon and agent package needs to be installed in one node that will host your Cloudera Manager UI. Please refer to the Installation guide and follow the step by step procedure. You also need to setup the manager DB as you have mentioned above. Start the Manager and access UI. Once the Manager is accessible, you may add the other nodes by specifying the IP addresses as described here : https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/install_software_cm_wizard.html
... View more
02-28-2023
07:38 AM
@dmharshit It will not be easy to tell you what could be causing this from this error message alone. Maybe if you could share the query EXPLAIN PLAN as well as HS2 logs, that will give us a better idea. Else, just try the following config change in Hive metastore, and in my experience this should help: CDP > Hive > Configuration > Hive Metastore Server Advanced Configuration Snippet (Safety Valve) for hive-site.xml
1#
property: hive.metastore.event.listener
Value:<leave it blank>
Note: do not add anyting in the Value field
2#
Property: hive.metastore.transactional.event.listeners
Value: < leave it blank>
Note: do not add anyting in the Value field
... View more
02-28-2023
01:59 AM
@ArtG001 Have you enabled SSL/TLS for Hiveserver2 as per the doc you have shared above, else we should see a valid result here? Do confirm. I tried the openssl command on a non SSL Hive endpoint and I got similar response.
... View more
02-28-2023
01:07 AM
Could you please share screenshots of the Instance tab from both Hive and Hive on Tez services? Based on our experience, the following action should resolve the issue. Stop and delete the "HiveServer2" and "WebHCat" instances from Cloudera Manager > Hive > Instances Check that the role "HiveServer2" is present in Cloudera Manager > Hive on Tez > Instances Verify the Configuration page for 'Hive on Tez'; ensure that 'Hive Metastore Connector' is pointed at the Hive service that is running the Hive Metastore Restart the stale services
... View more
01-10-2023
09:53 PM
@anjel Thank you! I can see that Support has reached out to the ODBC driver team. We'll wait for their response.
... View more