- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
BDR - Hive Replication Log Directory
- Labels:
-
Apache Hive
-
Cloudera Manager
Created on ‎11-12-2015 10:23 AM - edited ‎09-16-2022 02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having issues with running Hive replication jobs (these worked previously in the past), but due to some unknown system/configuration changes these jobs are now aborting almost immediately in the "Export Remote Hive Metastore" phase. I've been hunting around on both the source and target clusters and I'm unable to find any trace of log files for this job. Does anyone know where I should be looking for this information?
So far I've looked in:
/var/log/hive on local filesystems where Hive Metastore and Hive Server are running
/user/hdfs/.cm/hive on target cluster
/var/run/cloudera-scm-agent/process/* on all nodes in both clusters
Created ‎11-20-2015 05:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found out what I was doing wrong - I had a node on the source cluster with the Hive gateway role installed, but it wasn't configured 100% correctly. For some reason when the BDR jobs were launched, they kept running on this node and immediately failing so I wasn't getting any errors. The export metastore step of the Hive Replication job will run on a source cluster node that has either the HiveServer or Hive Gateway role installed
Created ‎11-20-2015 05:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found out what I was doing wrong - I had a node on the source cluster with the Hive gateway role installed, but it wasn't configured 100% correctly. For some reason when the BDR jobs were launched, they kept running on this node and immediately failing so I wasn't getting any errors. The export metastore step of the Hive Replication job will run on a source cluster node that has either the HiveServer or Hive Gateway role installed
Created ‎11-20-2015 06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Congratulations on solving your issue TylerHale. Hopefully your solution will be able to help others who run into the same problem. Thanks for sharing! 🙂
Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎07-10-2019 04:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you find the logs in the end ? I cant find them myself
Created ‎07-11-2019 03:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Daggers ,
For which logs are you looking?
Hive Metadata Export generally happens on the *source* cluster, so you should be able to find the command and associated logs by logging into the source cluster's Cloudera Manager, navigating to the Hive service and clicking the "Commands" subtab. You can then look at the results of the command for more information. If the command contains stderr/stdout logs, the top few lines should include the host on which the command ran, too.
Created ‎07-14-2019 02:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for that
