@Override
              public byte[] load(String s) throws Exception {
                byte[] bytes;
                if (path.startsWith(RESOURCE_SCHEME)) {
                  bytes = loadFromResource(conf, path, maxSize);
                } else {
                  bytes = loadFromHadoopFs(conf, path, maxSize);
                }
                LOG.info("Loaded dictionary from {} (size {})", s, bytes.length);
                return bytes;
              }
Load a dictionary or return a previously cached load.
@param conf configuration
@param path the hadoop Path where the dictionary is located, as a String
@return the dictionary bytes if successful, null otherwise
hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/DictionaryCache.java