Hi,
I am currently experiencing a problem when submitting a topology built
with pyleus to my storm cluster:
java.lang.RuntimeException: Error when launching multilang subprocess
pyleus_venv/bin/python: error while loading shared libraries:
libpython2.7.so.1.0: cannot open shared object file: No such file or
directory
Maybe I know what causes this error: On our cluster I have to execute
'module load python' to setup the environment for python. I have this in
my .bashrc but my assumption is, that .bashrc does not get sourced when
setting up the ShellBot (is this true?). This is based on the following
observation: Local mode performs as expected, unless python module is
not loaded. Then it fails with the error above.
Long story short: Which shell is used? Which files are sourced when the
shell is launched for the ShellBolts?
Johannes