Dremio won't run on macOs sierra

Hi, Need help!
Everytime i start the dreamio app i get this in the logs:

Thu Oct 5 16:01:50 +08 2017 Starting dremio on Camz.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) 10240
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited
Unrecognized VM option 'PrintGCDateStamps’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

any ideas?

Which installer did you use?

Do you have Java 9 by any chance? (java -version)
If it is could you switch to Java 8?

1 Like

im using the dremio community edition

Did you use the dmg installer or the tar file?

hi kelly, im using the DMG. I was able to run the Dremio but not thru the app I had to go the contents then MacOS then by double clicking on the Dremio inside it will open my terminal showing:
Port 9047 is not blocked
Port 2181 is not blocked.

then Dremio application will show then when I click on start its now starting.
Is there a way for me to run dremio without going thru the contents and all.

Thanks!

Hi,

Would it be possible for you to send us the below information? Click on the Apple logo on the top left corner, About This Mac" , click on system report, on the left hand side , scroll down and click on “Software”

System Software Overview:

System Version: macOS 10.12.6 (16G29)
Kernel Version: Darwin 16.7.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name:
User Name:
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 3 days 10:30

Like @yufeldman said, you installed Java9 on your computer, a version currently not supported by Dremio.

You can confirm this by opening a terminal, and running the following command:
/usr/libexec/java_home -verbose

The output should looks similar to this:

$ /usr/libexec/java_home -verbose
Matching Java Virtual Machines (8):
    9, x86_64:	"Java SE 9"	/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
    1.8.0_144, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home
    1.8.0_121, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
    1.8.0_102, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
    1.8.0_92, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
    1.8.0_72, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home
    1.8.0_66, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home
    1.7.0_80, x86_64:	"Java SE 7"	/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home

The last line represents the default JDK.

You can workaround this by hinting the Dremio app to use JDK version 8 (assuming it is present on your system) by making sure the Dremio application is closed, and then running the following command from a terminal:
JAVA_HOME=$(/usr/libexec/java_home -v 1.8) open /Applications/Dremio.app

Meanwhile we are working on bringing Java9 compatibility to Dremio