What things to keep in mind before upgrading Hbase

0 votes
Can anyone tell what  I need to do before upgrading hbase and what command I should use to solve this?
May 31, 2019 in Big Data Hadoop by Gayatri
320 views

1 answer to this question.

0 votes

Hey,

Before beginning the upgrade process, you must take a complete backup of HBase’s backing data. The following instructions cover backing up the data within the current HDFS instance. Alternatively, you can use the distcp command to copy the data to another HDFS cluster.

  • Stop the HBase cluster
  • Copy the HBase data directory to a backup location using the distcp command as the HDFS super user.

Using distcp to backup the HBase data directory

$kinit -k -t hdfs.keytab hdfs@EXAMPLE.COM
$hadoop distcp /hbase /hbase-pre-upgrade-backup

Distcp will launch a MapReduce job to handle copying the files in a distributed fashion. Check the output of the distcp command to ensure this job completed successfully.

answered May 31, 2019 by Gitika
• 65,910 points

Related Questions In Big Data Hadoop

0 votes
5 answers
0 votes
11 answers
0 votes
1 answer

What is the command to navigate in HDFS?

First of all there is no command ...READ MORE

answered Apr 27, 2018 in Big Data Hadoop by Shubham
• 13,490 points
5,179 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,862 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,555 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,199 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
4,260 views
0 votes
1 answer
0 votes
1 answer

What command is used to install MySql in centos?

You can use this command to install ...READ MORE

answered Apr 12, 2019 in Big Data Hadoop by Gitika
• 65,910 points
621 views
0 votes
1 answer

what command to see list inside your Database in linux?

Command used to list up what is inside ...READ MORE

answered Apr 16, 2019 in Big Data Hadoop by Gitika
• 65,910 points
403 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP