Timeout creating project on AWS

Hi
I have deployed dremio from AWS marketplace and trying to create my first project, but the project creation is stopping half way and the following is logged on the EC2 instance.

2020-08-19 18:17:44,103 [aws-project-action-pool1] INFO c.dremio.dac.server.AwsConfigurator - Mount target available.
2020-08-19 18:17:44,103 [aws-project-action-pool1] INFO c.dremio.dac.server.AwsConfigurator - Mounting EFS
2020-08-19 18:17:44,103 [aws-project-action-pool1] INFO c.dremio.dac.server.AwsConfigurator - Executing command, bash -c sudo mkdir -p /var/dremio_efs
2020-08-19 18:17:44,118 [aws-project-action-pool1] INFO c.dremio.dac.server.AwsConfigurator - Executing command, bash -c sudo mount -t nfs -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 172.31.45.136:/ /var/dremio_efs
2020-08-19 18:22:07,510 [aws-project-action-pool1] INFO c.dremio.dac.server.AwsConfigurator - wait time for current retry is 1000 milliseconds
2020-08-19 18:22:07,510 [aws-project-action-pool1] INFO c.dremio.dac.server.AwsConfigurator - retried one more time

Some errors relating to permissions

Aug 20 10:30:28 ip-172-31-37-239 systemd: Started Dremio Daemon Server.
Aug 20 10:30:28 ip-172-31-37-239 systemd: Starting Dremio Daemon Server…
Aug 20 10:30:28 ip-172-31-37-239 dremio: mkdir: cannot create directory ‘/opt/dremio/log’: Permission denied
Aug 20 10:30:28 ip-172-31-37-239 dremio: starting dremio
Aug 20 10:30:28 ip-172-31-37-239 dremio: /opt/dremio/bin/dremio: line 125: /opt/dremio/log/server.out: No such file or directory
Aug 20 10:30:28 ip-172-31-37-239 dremio: /opt/dremio/bin/dremio: line 126: /opt/dremio/log/server.out: No such file or directory
Aug 20 10:30:28 ip-172-31-37-239 dremio: mkdir: cannot create directory ‘/opt/dremio/run’: Permission denied
Aug 20 10:30:28 ip-172-31-37-239 dremio: /opt/dremio/run not found or dremio does not have access to it.
Aug 20 10:30:28 ip-172-31-37-239 dremio: Please create /opt/dremio/run and/or give the user dremio ownership to the directory.

1 Like

@yasir

Please send us output of

ls -ld /opt/dremio
ls -l /opt/dremio
ls -ld /opt/dremio/log
ls -l /opt/dremio/log
ls -ld /opt/dremio/run
ls -l /opt/dremio/run