We are exploring the MapR PACC Docker Image for deploying models in a distributed processing environment. We have run into an issue, it appears that the MapR PACC performs a user switch (if MAPR_CONTAINER_USER is not "root") in such a way that does not transfer over the environment from the original root user that the container starts as to the final user the container will run as.
This causes some serious issues if you use the Environment to configure your final application, say a model that needs to know its input topics and stream and perhaps other configuration information. Am I missing something or is this a bug in the way MapR implemented the PACC?
As a workaround, we are currently setting the MAPR_CONTAINER_USER to root on start and then manually performing the `su` after MapR has configured itself.