Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We should optionally let a storm topology run as the user that launched it, instead of as the headless user that storm is running as.
This requires a bit of native code with special privileges to make this work. We borrowed some code from Hadoop that already does this for them, and through the magic of sed turned it into something we can use.
This also includes code to keep the log files for different topologies separate from one another. It also requires that there is an external process that will clean up those logs. For this we selected the logviewer daemon and have added the necessary code there too.