They’re all slighly different, but keep throwing this socket.gaierror: [Errno -2] Name or service not known
Here’s what one of the tracebacks looks like:
Traceback (most recent call last):
File "/home/ubuntu/p4-mapreduce/env/bin/mapreduce-worker", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/ubuntu/p4-mapreduce/env/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/p4-mapreduce/env/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/ubuntu/p4-mapreduce/env/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
Exception in thread Thread-1 (tcp_server):
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/p4-mapreduce/env/lib/python3.12/site-packages/mapreduce/utils/__main__.py", line 31, in tcp_server
sock.bind((host, port))
socket.gaierror: [Errno -2] Name or service not known
Was hoping someone knew what I’m doing wrong. Or why this error even occurs.
I’ve tried googling, etc. but haven’t found any good documentation about this as of yet.