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 in Big Data Hadoop by Gayatri
12 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 by Gitika
• 25,300 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,290 points
381 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,290 points
145 views
0 votes
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
• 10,490 points
2,306 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
11,897 views
0 votes
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,240 points
880 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 in Big Data Hadoop by Gitika
• 25,300 points
62 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 15 in Big Data Hadoop by Gitika
• 25,300 points
16 views