Unable to upgrade to 1.4.4 on Ubuntu through Tarball

Hi,

I’m following the instruction to upgrade dremio from 1.3.0 to 1.4.4. However, I cannot run the upgrade command: “dremio-/bin/dremio-admin upgrade”.

The error I get is as follows:
Exception in thread “main” java.lang.RuntimeException: Failure reading configuration file. The following properties were invalid:
master.name
master.port

at com.dremio.config.DremioConfig.check(DremioConfig.java:168)
at com.dremio.config.DremioConfig.<init>(DremioConfig.java:141)
at com.dremio.config.DremioConfig.create(DremioConfig.java:281)
at com.dremio.config.DremioConfig.create(DremioConfig.java:228)
at com.dremio.config.DremioConfig.create(DremioConfig.java:223)
at com.dremio.dac.server.DACConfig.newConfig(DACConfig.java:195)
at com.dremio.dac.cmd.upgrade.Upgrade.main(Upgrade.java:182)

The following is the dremio-conf file:
master: {

the name of the master server. If this node matches the name, it starts the master service

name: localhost,
port: 45678
}

paths: {

the local path for dremio to store data.

local: ${DREMIO_HOME}"/data"

the distributed path Dremio data including job results, downloads, uploads, etc

#dist: “pdfs://”${paths.local}"/pdfs"
}

services: {
coordinator.enabled: true,
coordinator.master.enabled: true,
executor.enabled: true
}

zookeeper: “localhost:2181”

#allows network to change and dremio to keep working
registration.publish-host: “localhost”

Can anyone help to solve this problem?
Thank you

Hey ruixue!

With 1.4, we’ve changed the structure of the dremio.conf file. It used to be that there was a specific “master” section. However, you now enable a node as a master coordinator with “coordinator.master.enabled” in the “services” section. You actually have both of these right now, so removing the “master” section entirely should fix your problem.

It works! Thank you!