@Override
    public void createKey(String keyName, int bitLength) {
    /* not supported */
    }
This is a dummy class used when the hadoop version does not support hdfs encryption.
shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java