How do I import a local python module when running a python script in Oozie?
<p>I have two python files - my_python_A.py and my_python_B.py. The first file references the second (<code>from my_python_B import *</code>).</p>

<p>I'm executing the first python file from a shell action in Oozie (i.e. the script is simply <code>python my_python_A.py</code>), and am receiving the following error:</p>

<pre><code>Traceback (most recent call last):
  File "my_python_A.py", line 2, in &lt;module&gt;
    from my_python_B import *
ImportError: No module named my_python_B
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
</code></pre>

<p>Both python files are located under the same directory in HDFS. How can I get this import statement to work?</p>