5. HBase atomic operations by examples

Step 1: Create an HBase table named “sequence_numbers” with one column-family “i”. You can create this via HBase shell.

Step 2: You can use the HBase API in Java to insert a new record via “assigCurrentValue()”, and perform atomic…

Members Only Content

Log In Register Home

800+ Java & Big Data Interview Q&As