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
9 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 17,130 points

Related Questions In Big Data Hadoop

0 votes
5 answers
0 votes
10 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
• 12,890 points
318 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
• 12,890 points
105 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
• 9,670 points
1,879 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,401 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
676 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
• 17,130 points
53 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
• 17,130 points
11 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.