Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

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.

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 here.

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 here.

Source Link

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 here.