We use rancher template for hadoop+yarn, but it seems that hadoop is unable to deal with using container names as hostnames (eg. hadoop_namenode-primary_1
).
Caused by: java.net.URISyntaxException: Illegal character in hostname at index 13: http://hadoop_datanode_1:50075/webhdfs/v1/skystore/tmp/devtest_onedir/2016_08_19_02_35_35_32f7/header.json?op=CREATE&user.name=hdfs&namenoderpcaddress=10.42.14.252:8020&overwrite=true
Am I doing it wrong or is there some workaround?
As I see it the problem is caused but using container names as host names while rancher creates containers with underscores. Have no idea how to fix it though...