Remove attribute from a column in HBase

0 votes

Hi. I have created a table with a few columns in HBase and I want to remove an attribute to set to one of the columns. The table name is employees, the column name is emp_details, and the attribute I want to remove is XYZ. How can I do this?

Jun 4, 2019 in Big Data Hadoop by Rajini
121 views

1 answer to this question.

0 votes

To remove the attribute from a column, you will have to alter the table and set the attribute to nil. Refer to the code below:

hbase> alter 'employess', { NAME => 'emp_details', XYZ => nil }
answered Jun 4, 2019 by Firoz

Related Questions In Big Data Hadoop

0 votes
1 answer

How to delete a column family from table in HBase?

Hey, You can delete a column family from ...READ MORE

answered Jun 20, 2019 in Big Data Hadoop by Gitika
• 37,370 points
956 views
0 votes
1 answer

How to Modify the Maximum Number of Versions for a Column Family in Hbase?

Hey, The example uses HBase Shell to keep ...READ MORE

answered May 31, 2019 in Big Data Hadoop by Gitika
• 37,370 points
600 views
0 votes
1 answer

Why does one remove or add nodes in a Hadoop cluster frequently?

One of the most attractive features of ...READ MORE

answered Dec 13, 2018 in Big Data Hadoop by Frankie
• 9,810 points
655 views
+1 vote
1 answer

Unable to load data in Hbase table from dataset

Try these steps (make necessary changes): First upload ...READ MORE

answered Dec 18, 2018 in Big Data Hadoop by Omkar
• 69,030 points
582 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
• 10,950 points
5,869 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
881 views
+1 vote
11 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
37,018 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,320 points
2,195 views
0 votes
1 answer
0 votes
1 answer

How to create a Hive table from sequence file stored in HDFS?

There are two SerDe for SequenceFile as ...READ MORE

answered Dec 17, 2018 in Big Data Hadoop by Omkar
• 69,030 points
1,641 views