List of usage examples for org.apache.hadoop.fs FsServerDefaults getEncryptDataTransfer
public boolean getEncryptDataTransfer()
From source file:com.mellanox.r4h.DFSClient.java
License:Apache License
/** * @return true if data sent between this client and DNs should be encrypted, * false otherwise.//from w w w .j av a 2 s.com * @throws IOException * in the event of error communicating with the NN */ boolean shouldEncryptData() throws IOException { FsServerDefaults d = getServerDefaults(); return d == null ? false : d.getEncryptDataTransfer(); }