how can I change a row key value in hbase this row key is made of some column in table and all the values doesn't come in same time. after update a value of a column i want to update the row key is it possible to do? for example i have c1 , c2 , c3 columns and my uniq value in each row is c1, c2 together and row key is c1.value concatenate c2.value. first insert fill c1 and row key is c1 next time fill c2 for existing row (c1) and row key must set c1c2 for c1 existing row
how to change (update) a hbase row key value from aaa to bbb for example?
1k Views Asked by reihaneh At
1
There are 1 best solutions below
Related Questions in DATABASE-DESIGN
- SQL schema for a fill-in-the-blank exercise
- When an E-R attribute should be perceived as a relationship attribute or as an entity set attribute?
- steps to create a web app with backend and database and web
- Use data type uuid or varchar(36) for my UUID column?
- Containing Object Design
- Many-to-many relationship between objects of the same type
- When hashing an API key, should I hash the suffix / prefix as well?
- Database design, authentication and authorization in a microservices ticketing system
- Unique index on 3 columns where NULL conflicts with all other values in one column
- Can i create a table with 2 foreign keys? These 2 foreign keys are 2 primary keys of 2 different tables
- I have a basic ms access question about a relationship between 3 tables
- how can i calculate mutual friends/followers efficiently?
- Access Table ,setting in design ,column 'Catagory' as Combobox in lookup with list "Action";"War";"Drama". in vb.net DGV and Detail how to multiselct
- Table Design for Calculating Median Over User-Defined Period from Pre-Processed Data
- Use conditional constraint or normalize table?
Related Questions in HBASE
- Apache atlas UI not showing up
- HBase Zookeeper Connection Error Docker Standalone 2.3.x and 2.4.x
- How does bulkload in databases such as hbase/cassandra/KV store work?
- How to eradicate the slowness caused due to reading rows from bigtable with hbase client in google dataflow job?
- i cant delete the specific column data by Timestamp
- hbase shell QualifierFilter is not filtering out columns when used with logical OR and SingleColumnValueFilter
- Spark - Fetch Hbase table all versions data using HBase Spark connector
- Unable to recover inconsistency in Hbase
- hBase java api, error on bulkload Added a key not lexically larger than previous sort (with JavaPairRDD<ImmutableBytesWritable, KeyValue>)
- Functionality inside completable future is completing quickly but completable future and timelimiter are taking too long
- about hbase put attribute
- java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/Table
- Big Table Java Connectivity issue
- How to check if the Thrift is working on HBase version 2.5 and How to indicate if Thrift 1 or Thrift 2 is installed?
- HMaster stuck at "Initialize ServerManager and schedule SCP for crash servers"
Related Questions in ROW-KEY
- for issuing in cbt CLI 'cbt deleterow <rowkey>', how can i escape space character in a rowkey?
- Issue while reading Hbase in SPARK using rowkey
- Extend HBase Put to avoid original Row Check in add method
- Why HBase rows are said to be stored as lexicographically sorted?
- Best Rowkey Design for Hbase Table
- Efficiently scanning on composite row key in hbase
- HBase prefixFilter works with startRow and PageFilter
- How to auto generate a RowKey in a Azure table storage using C#
- How to override Rowkey sorting in hbase table HFiles?
- HBase rowkey design for column family desc order sorting
- Phoenix Salted Table Rowkey Issue with Hbase
- how to we define hbase rowkey so we get reords in optimize manner when millons of records in table
- HBASE Sequential row key (YYYYMMDDHHMMSS), Deterministic Non-Random Salt
- can't update or delete values from dialogue on row select
- hbase shell filter on hierarchical rowkey (or filter by rowkey length)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
At Splice Machine (Open Source) we hit this problem with base table and index table updates in hbase. An "Update" is actually a delete and insert when a primary key or index key is modified (no way around that). In our system something like this...
create table foo (col1, col2, primary key(col1)); insert into foo values (1,2),(3,4);
update foo set col1 = col2;
We would delete the rows 1,3 and write the rows 2,4 inside a single transaction/buffer.
Hope this helps and good luck.
Here is a link to our community site in case you want to look at our code.
http://community.splicemachine.com/