Hi:

> I am trying to find way of accessing table regions through unit test
>

I want to know how to prepopulate table regions under rootdir in unit test:

>
> -    Path path = new Path("/hbase/table/" + encodedName);
> +    Path path = new Path(rootdir, "hbase/" + region.getTableNameAsString()
> + "/" + encodedName);
>      FileStatus status = fs.getFileStatus(path);
>


> Does someone have clue ?
>
> Thanks
>

Reply via email to