Avoid using getHostName, time-consuming operation; Add project Id.

Signed-off-by: Administrator <Administrator@PC-201204251042>