In the HdfsProducer and HdfsConsumer classes, there are calls to get the current security configuration
in order to later reset them after HDFS tramples the system with its own config. However, if no security configuration was set, this throws a SecurityException like:
My current workaround is to set the system property "java.security.auth.login.config" to an empty file.
It seems like the code should check if a configuration exists before fetching it.