...

Big Data - HBASE

Back to Course

Lesson Description


Lession - #873 HBase Exists


Exists of Table utilizing HBase Shell

You can confirm the presence of a table utilizing the exists command. The following model tells the best way to utilize this command.



Verifying the Existence of Table Using Java API

You can confirm the presence of a table in HBase utilizing the tableExists(>
technique for the HBaseAdmin class. Follow the means given below to confirm the presence of a table in HBase. Stage 1


Stage 2
Confirm the presence of the table utilizing the tableExists( >
technique.

Given below is the java program to test the presence of a table in HBase utilizing java API.



compile and execute the above program as displayed below.



The following should be the result: