Added hyphen to hostname regex

Hyphen is also a valid character in hostnames
Remove logging lines from Hive output

Filter Hive output by removing any logging lines (detected as a line
beginning with '[').

Currently, when running Hive with Hadoop 2, Hive will output log
messages to the console.
E.g. [deprecation] - mapred.reduce.tasks is deprecated. Instead, use
mapreduce.job.reduces

This commit filters out these log messages before processing the Hive
output.