Huawei
H13-723_V2.0 · Question #67
In HBase application development, when the Rowkey range and distribution of a table are known, it is recommended to pre-divide regions. After calling the following code (fragment) to pre-divide a…
The correct answer is C. 5. See the full explanation below for the reasoning.
Question
In HBase application development, when the Rowkey range and distribution of a table are known, it is recommended to pre-divide regions. After calling the following code (fragment) to pre-divide a table into regions, this table will create several regions. //Create a table of pre-partitioned regions byte[][] splits=new byte[4][]; splits[0] = Bytes.toBytes("A"); splits[1] = Bytes.toBytes("H"); splits[2] = Bytes.toBytes("O"); splits[3] = Bytes.toBytes("U"); admin.createTable (htd, splits);
Options
- A3
- B4
- C5
- D6
How the community answered
(30 responses)- A13% (4)
- B7% (2)
- C77% (23)
- D3% (1)
Community Discussion
No community discussion yet for this question.