48484/remove-attribute-from-a-column-in-hbase
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?
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 }
Hey, You can delete a column family from ...READ MORE
Hey, The example uses HBase Shell to keep ...READ MORE
One of the most attractive features of ...READ MORE
Try these steps (make necessary changes): First upload ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
Just try the following command: hadoop fs -rm ...READ MORE
There are two SerDe for SequenceFile as ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.