Windows Configuration and running as a service

Can we change the location of data and logs plus memory allocation by editing
dremio-env and dremio.conf like that of a Linux install?

for the dremio.conf
local: ${DREMIO_HOME}"/data"

what would this be changed to if we want to store the data on D:\

The PID (or in this case lock file app0), the log files and data files are saved at this location by default.
C:\Users<USER_NAME>\AppData\Local\Dremio

Can we change the paths in dremio-env for all three?
#DREMIO_LOG_DIR=${DREMIO_HOME}/log

What would this change to if we wanted it to be D:\dremio\log ?

Can we change memory allocation?
#DREMIO_MAX_DIRECT_MEMORY_SIZE_MB=8192

Can we uncomment and change to any value?

Finally, since the default install appears to be user specific. Is there a way to install dremio as a windows service to allow it to always be running in the background and available for all user?

2 Likes

Would also like to know the answer to this!

@balaji.ramaswamy,

Can you provide any insight on this post?

Thank you!
Mathew

Hi @dealercrm

What happens if you give something like local: “d:/dremio/data” in dremio.conf?

Are you getting an error when trying to change the location of PID, log folder and the memory allocation and then starting Dremio?

Thanks
@balaji.ramaswamy

Hi,

I also want to change the data storage folder to my external hard drive folder (Windows)

This is my dremio.conf

paths: {
# the local path for dremio to store data.
local: “d:/dremio/data”

# the distributed path Dremio data including job results, downloads, uploads, etc
#dist: “pdfs://”${paths.local}"/pdfs"
}

It still doesn’t work. Has anyone managed to change it? Everything still gets saved to: “\AppData\Local\Dremio\pdfs”

Would be grateful for some advise / help.

Best,

Don

This post may help.

Good luck

1 Like