Hi,
I am trying to enable dremio to start at boot.
Followed the steps in https://docs.dremio.com/deployment/standalone/standalone-tarball.html
I did a tar ball installation. My setup is to use 1 coordinator and 3 worker nodes.
I can start frm the dremio script under /bi and start the application in each node. And it works fine. However while using service dremio start, its not starting the service.
Here is my config. Note that i am trying to use root user. This is from /etc/systemd/system/dremio.service
[Unit]
Description=Dremio Daemon Server
Documentation=
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
RuntimeDirectory=dremio
ExecStart=/opt/dremio/bin/dremio start
Restart=on-failure
Set maximum number of file descriptors Dremio can open.
Dremio requires a large number to work correctly.
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
And my dremio.conf is
services: {
coordinator.enabled: false,
coordinator.master.enabled: false,
executor.enabled: true,
coordinator.master.embedded-zookeeper.enabled: false
}
zookeeper: “xxx:2181,xxx:2181,xxx:2181,xxx:2181”
Is it same for all nodes ?
service dremio status output
Redirecting to /bin/systemctl status dremio.service
● dremio.service - Dremio Daemon Server
Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Mon 2019-09-09 11:51:05 EDT; 17min ago
Docs:
Main PID: 2402 (code=exited, status=0/SUCCESS)
Sep 09 11:51:04 [1]: Started Dremio Daemon Server.
Sep 09 11:51:04 [2402]: Starting dremio, logging to /opt/dremio/log/server.out
Sep 09 11:51:05 dremio[2402]: Check the log file to make sure dremio started successfully and did not run into any issues.
and my server.out
15:59:19,974 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - Active log file name: /opt/dremio/log/hive.deprecated.function.warning.log
15:59:19,974 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - File property is set to [/opt/dremio/log/hive.deprecated.function.warning.log]
15:59:19,974 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@26e356f0 - Propagating ERROR level on Logger[ROOT] onto the JUL framework
15:59:19,974 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to ERROR
15:59:19,977 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [text] to Logger[ROOT]
15:59:19,977 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [json] to Logger[ROOT]
15:59:19,977 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
15:59:19,979 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2dc54ad4 - Registering current configuration as safe fallback point
Can anyone help me with this?