Re: Scanning table using partial row key match returns unexpected results

2018-10-16 Thread William Shen
Actually, they are correctly matched. After further investigation, it turns out that the Row Key is printed out differently because it used binary string representation ( https://stackoverflow.com/questions/42353013/what-are-the-non-hex-characters-in-hbase-shell-rowkey ). After converting them back

Scanning table using partial row key match returns unexpected results

2018-10-16 Thread William Shen
Hi there, I am trying to scan using a partial match on the row key (derived from the Phoenix primary key), however, hbase shell is returning results that do not look like a match. Can someone help me understand why the following row keys are considered a match and returned? In addition, I am not

Phoenix metrics error on thin client

2018-10-16 Thread Monil Gandhi
Hello, I am trying to collect some metrics on certain queries. Here is the code that I have Properties props = new Properties(); props.setProperty(QueryServices.COLLECT_REQUEST_LEVEL_METRICS, "true"); props.setProperty("phoenix.trace.frequency", "always"); try (Connection conn = DriverManager.get