Impala cannot read or execute dfs.domain.socket.path

When setting up Coordinator Only Impala Daemons, if those Impala Daemons do not have DataNode assigned to them, Impala will fail with error:

Invalid short-circuit reads configuration:
  - Impala cannot read or execute the parent directory of dfs.domain.socket.path
Aborting Impala Server startup due to improper configuration. Impalad exiting.

This article will example what we can do about it.

The reason for the failure is because due to the missing DataNode role, the socket path dfs.domain.socket.path is not setup on the host, when Impala starts up with default config of “” = true, it will fail as the path does not exist.