Closed gypsysunny closed 6 years ago
Hi @gypsysunny, what you mean by custom partitioner? The connector allows you to use salting to randomize the prefix on the keys in order to spread them. Setting regions is something that should be at table creation time outside the scope of the connector.
i mean a custom partitioner analagous to HashPartitioner. and i have got a way to do that. thank you.
val hBaseRDD = sc.hbaseTable(String, Int, String) .select("column1", "column2") .inColumnFamily("mycf")
thank you.