bnewcomer commented on issue #23647:
URL: https://github.com/apache/beam/issues/23647#issuecomment-2593989881

   I just hit this issue trying to run a pipeline in Dataflow and trying to run 
locally with the PortableRunner using a custom docker image. I resolved it by 
ensuring there was a user set before launching beam in the Dockerfile. I'm 
guessing that call to `usr.HomeDir` is the source of the error if there is no 
user owning the process that launches beam (or if the user has no home 
directory)
   ```
   RUN useradd -u 1000 -d <some-path-to-a-home-dir> <user-name>
   USER 1000
   ENTRYPOINT ["/opt/apache/beam/boot"]
   ```
   
   I still think there should be some error handling, this doesn't seem like it 
should be a fatal error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to