/** * Enables strong encryption. Also enables the new auth protocol, used to negotiate keys. */ public boolean encryptionEnabled() { return conf.getBoolean("spark.network.crypto.enabled", false); }
/** * Whether to fall back to SASL if the new auth protocol fails. Enabled by default for * backwards compatibility. */ public boolean saslFallback() { return conf.getBoolean("spark.network.crypto.saslFallback", true); }
/** * Whether the server should enforce encryption on SASL-authenticated connections. */ public boolean saslServerAlwaysEncrypt() { return conf.getBoolean("spark.network.sasl.serverAlwaysEncrypt", false); }
/** * Whether to track Netty memory detailed metrics. If true, the detailed metrics of Netty * PoolByteBufAllocator will be gotten, otherwise only general memory usage will be tracked. */ public boolean verboseMetrics() { return conf.getBoolean(SPARK_NETWORK_VERBOSE_METRICS, false); }
/** * Whether to fall back to SASL if the new auth protocol fails. Enabled by default for * backwards compatibility. */ public boolean saslFallback() { return conf.getBoolean("spark.network.crypto.saslFallback", true); }
/** * Whether to track Netty memory detailed metrics. If true, the detailed metrics of Netty * PoolByteBufAllocator will be gotten, otherwise only general memory usage will be tracked. */ public boolean verboseMetrics() { return conf.getBoolean(SPARK_NETWORK_VERBOSE_METRICS, false); }
/** * Whether to enable SASL-based encryption when authenticating using SASL. */ public boolean saslEncryption() { return conf.getBoolean("spark.authenticate.enableSaslEncryption", false); }
/** * Whether to enable SASL-based encryption when authenticating using SASL. */ public boolean saslEncryption() { return conf.getBoolean("spark.authenticate.enableSaslEncryption", false); }
/** * Enables strong encryption. Also enables the new auth protocol, used to negotiate keys. */ public boolean encryptionEnabled() { return conf.getBoolean("spark.network.crypto.enabled", false); }
/** * Whether to fall back to SASL if the new auth protocol fails. Enabled by default for * backwards compatibility. */ public boolean saslFallback() { return conf.getBoolean("spark.network.crypto.saslFallback", true); }
/** * Whether to initialize FileDescriptor lazily or not. If true, file descriptors are * created only when data is going to be transferred. This can reduce the number of open files. */ public boolean lazyFileDescriptor() { return conf.getBoolean(SPARK_NETWORK_IO_LAZYFD_KEY, true); }
/** * Whether the server should enforce encryption on SASL-authenticated connections. */ public boolean saslServerAlwaysEncrypt() { return conf.getBoolean("spark.network.sasl.serverAlwaysEncrypt", false); }
/** * Whether to initialize FileDescriptor lazily or not. If true, file descriptors are * created only when data is going to be transferred. This can reduce the number of open files. */ public boolean lazyFileDescriptor() { return conf.getBoolean(SPARK_NETWORK_IO_LAZYFD_KEY, true); }
/** * Whether the server should enforce encryption on SASL-authenticated connections. */ public boolean saslServerAlwaysEncrypt() { return conf.getBoolean("spark.network.sasl.serverAlwaysEncrypt", false); }
/** If true, we will prefer allocating off-heap byte buffers within Netty. */ public boolean preferDirectBufs() { return conf.getBoolean(SPARK_NETWORK_IO_PREFERDIRECTBUFS_KEY, true); }
/** * Whether to initialize FileDescriptor lazily or not. If true, file descriptors are * created only when data is going to be transferred. This can reduce the number of open files. */ public boolean lazyFileDescriptor() { return conf.getBoolean(SPARK_NETWORK_IO_LAZYFD_KEY, true); }
/** * Whether to enable SASL-based encryption when authenticating using SASL. */ public boolean saslEncryption() { return conf.getBoolean("spark.authenticate.enableSaslEncryption", false); }
/** * Whether the server should enforce encryption on SASL-authenticated connections. */ public boolean saslServerAlwaysEncrypt() { return conf.getBoolean("spark.network.sasl.serverAlwaysEncrypt", false); }
/** * Whether to initialize FileDescriptor lazily or not. If true, file descriptors are * created only when data is going to be transferred. This can reduce the number of open files. */ public boolean lazyFileDescriptor() { return conf.getBoolean(SPARK_NETWORK_IO_LAZYFD_KEY, true); }
/** * Enables strong encryption. Also enables the new auth protocol, used to negotiate keys. */ public boolean encryptionEnabled() { return conf.getBoolean("spark.network.crypto.enabled", false); }