It's a simple test incompatibility fix between Hadoop 2.6 and 3.0. Also, I'd like to point out that when writing tests, the default behavior of the Python test suite is to verify the /sorted/ test output matches. That doesn't work with regex or row_regex matching (although I may be fixing this soon to workaround another incompatible change), and isn't appropriate for all tests, especially for things like planner tests, where the exact order actually does matter. To get the behavior of verifying test output in-order, and with regex capability, you need to use VERIFY_IS_EQUAL on results.
Anyway, here's the diff, I'm looking for another +1 before I commit: https://gerrit.cloudera.org/#/c/8656/
