HBase REST Filter ( SingleColumnValueFilter )

Filter fields in the Scanner XML are strings formatted as JSON. Since the JSON for the filter has many quotes in it, I recommend using a separate file for curl’s -d parameter, to avoid the single quote. curl -v -H “Content-Type:text/xml” -d @args.txt http://hbasegw:8080/table/scanner Where the file args.txt is: <Scanner startRow=”cm93MDE=” endRow=”cm93MDg=” batch=”1024″> <filter> { … Read more