I have set the LD_LIBRARY_PATH on my machine by creating
/etc/profile.d/my_deps.sh files. The contents of this file are

#!/bin/bash
DEP_HOME=/media/ephemeral0/dep
DEP_FONTS=/media/ephemeral0/depfonts
LD_LIBRARY_PATH=/media/ephemeral0/dep:$LD_LIBRARY_PATH
export DEP_HOME ISYS_FONTS LD_LIBRARY_PATH

I logged out and logged in and checked that the LD_LIBRARY_PATH is
appropriately set for root as well as storm users. But when I run my
topology and print the LD_LIBRARY_PATH the logs show the following path

/media/ephemeral0/hadoop/storm/supervisor/stormdist/mapi-streaming-1-99-1436561567/resources/Linux-amd64:/media/ephemeral0/hadoop/storm/supervisor/stormdist/mapi-streaming-1-99-1436561567/resources:/usr/local/lib:/opt/local/lib:/usr/lib:/usr/hdp/current/storm-client/lib

I think storm is overriding my environment variables. Of course I can
symlink my dependencies in /usr/local/lib or /opt/local/lib. What is the
best practice to solve this?

Thanks.

Reply via email to