Dremio not start on mac

Installed the latest version of Dremio for mac, with java version:
java version “12.0.2” 2019-07-16
Java™ SE Runtime Environment (build 12.0.2+10)
Java HotSpot™ 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

However the service was unable to start with the following message:
[main] ERROR ROOT - Dremio is exiting. Failure while starting services.
com.dremio.common.exceptions.UserException: No Cluster Identity found
at com.dremio.common.exceptions.UserException$Builder.build(UserException.java:776) ~[dremio-common-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:170) ~[dremio-dac-daemon-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:160) ~[dremio-dac-daemon-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:99) ~[dremio-dac-daemon-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]

Then I’ve tried to fix the problem by changing the dremio.conf file, disabling the auto-upgrade option:services: {
coordinator.enabled: true,
coordinator.master.enabled: true
coordinator.auto-upgrade: false
executor.enabled: true
}

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

That doesn’t work either.

Any idea?

Thanks in advance,

Yups

Hi @yups,

This may have to do with your Java version. Can you install Java JDK 8, point JAVA_HOME to this install and try and rerun Dremio?

You can find downloads for JDK 8 here.

Hello Ben,

Thanks for your reply.

I’ve downloaded and installed the following:

  • jdk-12.0.2_osx-x64_bin.dmg
  • jre-8u221-macosx-x64.dmg

However Dremio still doesn’t start…

Best regards,
Yups

@yups,

From your terminal, what does java -version report?

Hello Ben,

My java version is:
java version “12.0.2” 2019-07-16
Java™ SE Runtime Environment (build 12.0.2+10)
Java HotSpot™ 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

My $JAVA_HOME:/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home

Another question: does Dremio work under macos yosemite 10.10.5?

Best regards,
Yups

To run Dremio on your Mac, you need JAVA_HOME to point the Java JDK 8 installation. On my Mac, for example, I have a {{.bash_profile}} in my home directory with the following statement:

# Java
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home"

My java home is setup as follows:
/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home

But Dremio still gives me the error message:
2019-09-12 20:44:12,024 [main] ERROR ROOT - Dremio is exiting. Failure while starting services.
com.dremio.common.exceptions.UserException: No Cluster Identity found
at com.dremio.common.exceptions.UserException$Builder.build(UserException.java:776) ~[dremio-common-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:170) ~[dremio-dac-daemon-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:160) ~[dremio-dac-daemon-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:99) ~[dremio-dac-daemon-3.3.2-201908142136370993-d60145d.jar:3.3.2-201908142136370993-d60145d]

Regards,
Yups

Are you using the Mac app or the tarball?

If you are not upgrading, if this is your first time install and you’ve no data to loose, you can try deleting the data directory. If using the Mac app, this is under ~/Library/Dremio/data. If using a tarball, it’s under the Dremio installation directory

I’m using the Mac app and I’ve deleted the data directory, yet got the same error…

My mac version is 10.10.5, is it OK for installing Dremio?

Thanks for your reply,

Yups

Did you change anything in the Dremio configuration files dremio.conf and dremio-env. If so, please share it here.

You could try the tarball install as well (“Linux, TAR” in the deploy page). Just download and unzip, then, from you terminal, cd to the Dremio bin directory and start the instance:

./dremio start

Hi Ben,

I’ve tried with the tarball install.
After running the command ./dremio start, I checked the server.out:

Sun Sep 15 08:13:47 UTC 2019 Starting dremio on fourtunedeiMac.local
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited

So the service is running?
Then I try to view the page via http://localhost:9047, but that didn’t work.

I suppose I should add the following in the config?
registration.publish-host: “localhost”

My current dremio.conf is as following:
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
}

Thanks in advance,
Yups