[Catalog] Make DNS name of Kudu master case insensitive

Kudu master gets DNS name from config file when server startup
and writes it into sys table. But after rewriting Raft config,
it will be changed with different character case. Therefore it will
be good to keep case insensitive for DNS name.

In our situtation, the config file uses lower case DNS name,
when rewriting Raft configure, user will input DNS name, which
may be in upper case. Then Kudu master get an error when starting.

Change-Id: If955e91a9e081dad7aebdcc497c413c8eb10eb4b
Reviewed-on: http://gerrit.cloudera.org:8080/18567
Tested-by: Kudu Jenkins
Reviewed-by: Yingchun Lai <acelyc1112009@gmail.com>
2 files changed