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 answers
Related Questions in DATABASE-DESIGN
- Big data with spatial queries/indexing
- Unique hash/index for time interval
- Best practices for creating a huge SQL table
- Database Design: How should I store user's news preferences in MySQL database?
- Is it recommended to use Node.js for an online room booking web application?
- Storing multiple item settings in database
- Which column type for storing the year field in a table with rows of yearly data
- Best way to setup a i8n in a database
- Database normalization for electricity monitoring system
- Database Design: Unique Billing Assocation
- Is it always a bad practice to have circular relationships in your database design
- One column maps to mutiple columns from different table
- Replicating tables within the database
- mysql one translates table vs multiple translate table
- Nosql database design for complex querying
Related Questions in HBASE
- HBase table is empty, but regions are increased
- I am using Hbase 1.0.0 and Apache phoenix 4.3.0 on CDH5.4. When I restart Hbase regionserver is down
- phoenix join operation not working with hbase
- Running HBase in standalone mode but get hadoop "retrying connect to server" message?
- How to start HBase master using Java code in ubuntu
- Spark and HBase Snapshots
- Connect to hbase from remote machine
- Read Data from HBase running on EMR Cluster with Spark installed on local machine
- Unable to connect to HBase stand alone server from windows remote client
- Error while installing HBase on windows
- Importtsv command does not work in Hbase1.0.1.1
- LongComparator does not work in Google Cloud Bigtable with HBase API
- How do you calculate the size of a single row in hbase?
- HBase AggregationClient in HDInsight
- why use protocol buffers in java
Related Questions in ROW-KEY
- HBase prefixFilter works with startRow and PageFilter
- delete row key from cassandra cli
- How to scan HBase with specific part of rowkey?
- Extend HBase Put to avoid original Row Check in add method
- Phoenix Salted Table Rowkey Issue with Hbase
- can't update or delete values from dialogue on row select
- How to auto generate a RowKey in a Azure table storage using C#
- Scan table with multiple rowkey filter in hbase
- Best Rowkey Design for Hbase Table
- HBase- Retrieve row based on parts of key
- Retrieving Row Key from HBase table in Talend
- Why HBase rows are said to be stored as lexicographically sorted?
- how to we define hbase rowkey so we get reords in optimize manner when millons of records in table
- how to change (update) a hbase row key value from aaa to bbb for example?
- HBase rowkey design for column family desc order sorting
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?
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)
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/