<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HBase DataMigration from Source (RHEL 7 Cloudera Managed) to Open-Source self-managed 5 node cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393587#M248485</link>
    <description>&lt;P&gt;Looking forward for the detailed information. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 15:31:52 GMT</pubDate>
    <dc:creator>therealsrikanth</dc:creator>
    <dc:date>2024-09-17T15:31:52Z</dc:date>
    <item>
      <title>HBase DataMigration from Source (RHEL 7 Cloudera Managed) to Open-Source self-managed 5 node cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393572#M248479</link>
      <description>&lt;P&gt;Hello team,&lt;BR /&gt;My main work is dependent on HBase Data.&lt;BR /&gt;&lt;BR /&gt;I have Source (RHEL 7 CDH cluster) and Destination (RHEL 9 Open-Source Cluster self-managed cluster)&lt;BR /&gt;&lt;BR /&gt;RHEL 9 Open-Source Cluster Conf:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Apache Services Configured and running:&lt;UL&gt;&lt;LI&gt;Zookeeper&lt;/LI&gt;&lt;LI&gt;Hadoop&lt;/LI&gt;&lt;LI&gt;Yarn is Default conf&lt;/LI&gt;&lt;LI&gt;HBase&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Migration Approach:&lt;UL&gt;&lt;LI&gt;Export - Import approach:&lt;UL&gt;&lt;LI&gt;Did the export on the source side.&lt;/LI&gt;&lt;LI&gt;Tried doing distcp to source which won't work because of authentication mismatch and non-presence of marred because it was not configured in the source side.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;So I did the winSCP to destination and tried import which didn't work because the MapRed was not configured because it was not in the requirement.&lt;/LI&gt;&lt;LI&gt;So I skipped this approach.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Snapshot approach:&lt;UL&gt;&lt;LI&gt;I took snapshot on source side and tried doing snapshot-export. It gave an error saying that the destination is a 'SIMPLE AUTH' but the source is Kerberos Authenticated. So, it didn't work.&lt;/LI&gt;&lt;LI&gt;Manual Approach:&amp;nbsp;&lt;UL&gt;&lt;LI&gt;Took snapshots on source.&lt;/LI&gt;&lt;LI&gt;Hadoop Get: Used get command to copy the snapshots file, /hbase/data/DataCapture (Actual Data Dir) and /hbase/data/hbase (Meta Data Dir)&lt;/LI&gt;&lt;LI&gt;winSCP: Then used winSCP to transfer these directories from source to destination.&lt;/LI&gt;&lt;LI&gt;Meta Conf: But before that I have replaced the metadata info in RHEL 7 and replaced with RHEL 9 HBase info.&lt;UL&gt;&lt;LI&gt;Region Servers&lt;/LI&gt;&lt;LI&gt;Server Start Codes&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Stopped HBase and restarted but it didnt work out and its throwing the following error which i do 'list' :&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;2024-09-17 08:32:32,622 INFO zookeeper.ClientCnxn: EventThread shut down for session: 0x102e6e64b450116&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;2024-09-17 08:32:41,113 INFO client.RpcRetryingCallerImpl: Call exception, tries=12, retries=16, started=68591 ms ago, cancelled=false, msg=org.apache.hadoop.hbase.PleaseHoldException: Master is initializing&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:3188)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.master.MasterRpcServices.getTableDescriptors(MasterRpcServices.java:1073)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:415)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.ipc.RpcHandler.run(RpcHandler.java:102)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hbase.ipc.RpcHandler.run(RpcHandler.java:82)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;, details=, see &lt;/SPAN&gt;&lt;A class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://s.apache.org/timeout" href="https://s.apache.org/timeout" target="_blank" rel="noreferrer noopener"&gt;https://s.apache.org/timeout&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;What is the best way to proceed sir ?&amp;nbsp;&lt;UL&gt;&lt;LI&gt;Should i format the HBase? Or change the root dir to new one to start freshly? What approach should i procced sir?&lt;/LI&gt;&lt;LI&gt;Should is configure Map-Red to do import on the destination side?&lt;/LI&gt;&lt;LI&gt;As the destination side authentication is 'SIMPLE AUTH' do i need to Kerberos it sir or I can modify the configurations in the source RHEL 7 Cloudera managed to 'SIMPLE AUTH' ?.&lt;UL&gt;&lt;LI&gt;Note: My client uses LADP, AD and kerberos for Application purposes.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The KDC is Active directory itself (AD Kerberos)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Or is there any other way ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please give me a detailed information sir. Really appreciate it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Srikanth&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:25:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393572#M248479</guid>
      <dc:creator>therealsrikanth</dc:creator>
      <dc:date>2026-04-21T06:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: HBase DataMigration from Source (RHEL 7 Cloudera Managed) to Open-Source self-managed 5 node cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393587#M248485</link>
      <description>&lt;P&gt;Looking forward for the detailed information. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 15:31:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393587#M248485</guid>
      <dc:creator>therealsrikanth</dc:creator>
      <dc:date>2024-09-17T15:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: HBase DataMigration from Source (RHEL 7 Cloudera Managed) to Open-Source self-managed 5 node cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393655#M248516</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108932"&gt;@therealsrikanth&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manual snapshots copying is the only way forward as you have security and compatibility issues between the clusters.&lt;/P&gt;&lt;P&gt;Kindly try to follow below steps -&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Create Snapshot Operation&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Take the snapshot in CDH. For example after login from HBase shell:&lt;BR /&gt;&lt;PRE&gt;$ hbase shell&lt;BR /&gt;hbase&amp;gt; snapshot '&amp;lt;TABLE_NAME&amp;gt;', '&amp;lt;SNAPSHOT_NAME&amp;gt;'&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Major compact the table&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;$ major_compact '&amp;lt;TABLE_NAME&amp;gt;'&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Copy the files to the local environment from the below locations:&lt;BR /&gt;&lt;PRE&gt;hdfs dfs -get /hbase/data/.hbase-snapshot/ /tmp/dir&lt;BR /&gt;&lt;BR /&gt;hdfs dfs -get /hbase/data/archive/ /tmp/dir2&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Restore operation&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Transfer the files to the CDP environment.&lt;/LI&gt;&lt;LI&gt;Use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;-copyFromLocal&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;operation to copy the contents to HDFS:&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;cd /tmp&lt;BR /&gt;&lt;BR /&gt;hdfs dfs -copyFromLocal dir /hbase/data/.hbase-snapshot&lt;BR /&gt;hdfs dfs -copyFromLocal dir2 /hbase/archive/data/default&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: "default" is a namespace name on which newly created tables are placed if&amp;nbsp;you don't specify a custom namespace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure, the directories are created in HDFS. the path should look like this after copying:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/hbase/archive/data/&amp;lt;Namespace&amp;gt;/&amp;lt;TABLE_NAME&amp;gt;/&amp;lt;hfile1&amp;gt;&lt;BR /&gt;&lt;BR /&gt;/hbase/archive/data/&amp;lt;Namespace&amp;gt;/&amp;lt;TABLE_NAME&amp;gt;/&amp;lt;hfile2&amp;gt;&lt;BR /&gt;&lt;BR /&gt;...&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Check permissions on /hbase/archive directory, it should be owned by user HBase.&lt;/LI&gt;&lt;LI&gt;Login to the HBase shell and check the snapshots:&lt;BR /&gt;&lt;PRE&gt;Hbase shell&lt;BR /&gt;hbase:001:0&amp;gt; list_snapshots&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;When the snapshot is visible, you can use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;clone_snapshot&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command to create a new table using the snapshot:&lt;PRE&gt;hbase&amp;gt; clone_snapshot '&amp;lt;SNAPSHOT_NAME&amp;gt;', '&amp;lt;TABLE_NAME_NEW&amp;gt;'&lt;/PRE&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&lt;STRONG&gt;Was your question answered? Please take some time to click on "Accept as Solution" -- If you find a reply useful, say thanks by clicking on the thumbs up button below this post. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 18 Sep 2024 18:48:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-DataMigration-from-Source-RHEL-7-Cloudera-Managed-to/m-p/393655#M248516</guid>
      <dc:creator>shubham_sharma</dc:creator>
      <dc:date>2024-09-18T18:48:45Z</dc:date>
    </item>
  </channel>
</rss>

