Firstly, you could try a relative import such as
from ..utils import HdfsConnector
You'd also need to run the script as a module and not as a simple python script due to the _name_ being different. This wouldn't require you to modify the path. You can find more info herehere.