for getting information about the ip and port no you want to know you can give command as follows
netstat –nl | grep <portno> or <ip here>
This will the processing using the specific port no or IP address. for more options with netstat type on shell netstat -- help will give you all the options .
and to check if other instance of Hadoop is running type
sudo jps
this will list all the process of Hadoop running in other users.
Step by step process :
- check which port the program is trying to bind to in the error message
- type on the command shell: netstat -a -t --numeric-ports -p to list the ports that are in use by number and process.
- check which process is using the port no.
- try and identify why it is in use. Telnet <port> and pointing a web browser at it are both good tricks.
- so either change the port no of hadoop or the other porgram that is using the port no in error message.
This method can help not in removing Exception Binding error for hadoop but also for other processes.
No comments:
Post a Comment
Thank you for Commenting Will reply soon ......