If you have CDH 5.7.1 or HDFS data at rest encryption enabled, and you want to store your Dgraph databases on HDFS, you must install the HDFS NFS Gateway service.
The NFS Gateway service enables client applications to mount HDFS as part of the local file system. Clients can then search for, read from, and write to HDFS files as if they were stored locally. In the context of BDD, the NFS Gateway allows the Dgraph to access its databases when they're stored in HDFS.
To enable this for BDD, the NFS Gateway service must be installed on all Dgraph nodes. For instructions on installing it, refer to the documentation for your Hadoop distribution.
NFS_GATEWAY_SERVERS=<list of NFS Gateway nodes> DGRAPH_USE_NFS_MOUNT=TRUE
After installing, the Dgraph will mount HDFS via the NFS Gateway when it starts.