Hi I am new to hbase and want to ask about columns and column families.
Its my assignment and I am stuck in design for this. I have to save month names in hbase in different formats and in different languages. Every record should have:
lang_id,
format,
language,
translation.
Now lang_id for:
January=1,
February=2
......
format can be:
full(means January)
3figure(means Jan)
langauge can be:
eng
arabic
urdu
etc...
Now translation will have further columns like:
id
content
timestamp
id means id of translation
content is the actual data
e.g for lang_id =1 format=full language =english
the content should store January
e.g for lang_id =1 format=3figure language =english
the content should store Jan
Now i am stuck in the design. That what columns should i make and what column families. lang_id,format, language, translation But translation will again have some more columns... id,content,timestamp
Any help with an example will be very appreciative.
id
andlang_id
are. Islang_id
an integer? Or the stringFeburary=1
? Why is it calledlang_id
notmonth_id
? Why is this assignment supposed to use HBase when it seems month-language data is tiny; HBase is a Big Data db. – samthebest