The NiFi logs will tell you why it shut down. For the docker container, use
NIFI_LOG_DIR=/opt/nifi/nifi-current/logs Environment variable and mount that to an external volume. The logs will be in that directory after the container exits. Your answer will be a stack trace in that directory. Erik Anderson Bloomberg Sent from my iPad > On Sep 25, 2019, at 4:08 PM, Nooka, Sheshikanth > <[email protected]> wrote: > > Hi, > > I am facing difficulties when trying to deploy NIFI docker image on EC2. I > realized that NIFI docker container is continuously changing to "exited" > state. > > But when I try running the docker manually on EC2, it runs fine. > > I checked the docker logs and found that NIFI server was able to start > successfully but gets terminated after few minutes. > The message is "Received trapped signal, beginning shutdown..." > > Can you please help me with running NIfi using container orchestration tool > and figure out the root cause for this issue? > > I really appreciate your time. > > Thanks > Sheshikanth >
