# Installation issue CLuster mode

**URL:** https://community.dremio.com/t/installation-issue-cluster-mode/1728
**Category:** Uncategorized
**Created:** [August 29, 2018, 11:31am UTC](https://community.dremio.com/t/installation-issue-cluster-mode/1728 "2018-08-29T11:31:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rajabhupati](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rajabhupati](https://community.dremio.com/u/rajabhupati)
#### Post date: [August 29, 2018, 11:31am UTC](https://community.dremio.com/t/installation-issue-cluster-mode/1728/1 "2018-08-29T11:31:02Z")

</div>

getting the following error & No log files generated

● dremio.service - Dremio Daemon Server  
Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: disabled)  
Active: failed (Result: exit-code) since Wed 2018-08-29 07:21:03 EDT; 4s ago  
Docs: [https://docs.dremio.com](https://docs.dremio.com)  
Process: 19620 ExecStop=/opt/dremio/bin/dremio stop (code=exited, status=1/FAILURE)  
Process: 19605 ExecStart=/opt/dremio/bin/dremio start-fg (code=exited, status=1/FAILURE)  
Main PID: 19605 (code=exited, status=1/FAILURE)

Aug 29 05:48:28 hostname systemd[1]: dremio.service failed.  
Aug 29 05:48:28 hostname systemd[1]: Started Dremio Daemon Server.  
Aug 29 05:48:28 hostname systemd[1]: Starting Dremio Daemon Server…  
Aug 29 05:48:28 hostname dremio[10375]: starting dremio, logging to /opt/dremio/log/server.out  
Aug 29 05:48:38 hostname systemd[1]: dremio.service: main process exited, code=exited, status=1/FAILURE  
Aug 29 05:48:39 hostname systemd[1]: Unit dremio.service entered failed state.  
Aug 29 05:48:39 hostname systemd[1]: dremio.service failed.

I am trying to install on a two node Hadoop using Yarn .How does the other node know this node as master. Do we need to specify the hostname explicitly anywhere?

---

<div class="post-metadata">

### Author: ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)
#### Post date: [August 29, 2018, 12:33pm UTC](https://community.dremio.com/t/installation-issue-cluster-mode/1728/2 "2018-08-29T12:33:42Z")

</div>

The nodes know of each other via ZK. If you are deploying in a Hadoop cluster, you should use your external ZK (rather than Dremio’s default internal one) - [https://docs.dremio.com/advanced-administration/zookeeper.html#using-an-external-zookeeper](https://docs.dremio.com/advanced-administration/zookeeper.html#using-an-external-zookeeper)

Also, you only need to deploy the master coordinator one time. You can stand up the executors via UI via Yarn.

---

<div class="post-metadata">

### Author: ![rajabhupati](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rajabhupati](https://community.dremio.com/u/rajabhupati)
#### Post date: [August 30, 2018, 7:36am UTC](https://community.dremio.com/t/installation-issue-cluster-mode/1728/3 "2018-08-30T07:36:02Z")

</div>

> [@anthony](#):
>
> eed to deploy the master coordinator one time

I have two nodes host1 & host2 which is hadoop cluster and both acts as zookeeper. I used setup instructions for both

Master config:

paths: {

# the local path for dremio to store data.

local:“/data/dremio”  
dist:“hdfs://namenode/user/dremio”  
}

services: {  
coordinator.enabled: true,  
coordinator.master.enabled:true ,  
executor.enabled: false  
coordinator.auto-upgrade: false  
}  
services.coordinator.master.embedded-zookeeper.enabled: false  
zookeeper: “host1:2181,[host2.com:2181](http://host2.com:2181)”

Log that I get when i start ~  
Exception in thread “main” java.lang.NullPointerException: No Cluster Identity found  
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)  
at com.dremio.dac.daemon.DremioDaemon.checkVersion(DremioDaemon.java:89)  
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:125)

Executor config:

paths: {

# the local path for dremio to store data.

local: “/data/dremio”  
dist:“hdfs://namenode/user/dremio”

}

services: {  
coordinator.enabled: false,  
coordinator.master.enabled: false,  
executor.enabled: true  
coordinator.auto-upgrade: false  
}  
services.coordinator.master.embedded-zookeeper.enabled: false  
zookeeper: “host1:2181,[host2.com:2181](http://host2.com:2181)”

No logs generated

Any help

---

<div class="post-metadata">

### Author: ![yufeldman](https://avatars.discourse-cdn.com/v4/letter/y/c77e96/32.png) [@yufeldman](https://community.dremio.com/u/yufeldman)
#### Post date: [August 30, 2018, 3:34pm UTC](https://community.dremio.com/t/installation-issue-cluster-mode/1728/4 "2018-08-30T15:34:48Z")

</div>

> [@rajabhupati](#):
>
> Exception in thread “main” java.lang.NullPointerException: No Cluster Identity found  
> at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)  
> at com.dremio.dac.daemon.DremioDaemon.checkVersion(DremioDaemon.java:89)  
> at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:125)

Could you try to delete content of `/data/dremio` directory and restart?

---

<div class="post-metadata">

### Author: ![rajabhupati](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rajabhupati](https://community.dremio.com/u/rajabhupati)
#### Post date: [August 31, 2018, 12:59pm UTC](https://community.dremio.com/t/installation-issue-cluster-mode/1728/5 "2018-08-31T12:59:17Z")

</div>

Well that did not helo. However adding JAVA\_HOME to Dremio\_env file helped fixing the error
