I think the problem is that in my local etc/hosts file, I have 10.196.116.95 WIN02
I will remove it and try. Thanks for the help. Ningjun From: prajod.vettiyat...@wipro.com [mailto:prajod.vettiyat...@wipro.com] Sent: Friday, June 12, 2015 1:44 AM To: Wang, Ningjun (LNG-NPV) Cc: user@spark.apache.org Subject: RE: How to set spark master URL to contain domain name? Hi Ningjun, This is probably a configuration difference between WIN01 and WIN02. Execute: ipconfig/all on the windows command line on both machines and compare them. Also if you have a localhost entry in the hosts file, it should not have the wrong sequence: See the first answer in this link: http://stackoverflow.com/questions/6049260/fully-qualified-machine-name-java-with-etc-hosts Regards, Prajod From: Wang, Ningjun (LNG-NPV) [mailto:ningjun.w...@lexisnexis.com] Sent: 12 June 2015 01:32 To: user@spark.apache.org<mailto:user@spark.apache.org> Subject: How to set spark master URL to contain domain name? I start spark master on windows using bin\spark-class.cmd org.apache.spark.deploy.master.Master Then I goto http://localhost:8080/ to find the master URL, it is spark://WIN02:7077 Here WIN02 is my machine name. Why does it missing the domain name? If I start the spark master on other machines, the master URL will contain domain name, e.g. spark://WIN01.mycompany.com:7077 Only on machine WIN02, the master URL does not contains the domain name. How can I config WIN02 so that spark master URL will also contain the domain name, e.g. Spark://WIN02.mycompany.com Thanks Ningjun The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com<http://www.wipro.com>