@Override
    public HadoopConf buildHadoopConfWithReadOnlyConfig(ReadonlyConfig readonlyConfig) {
        Configuration configuration = loadHiveBaseHadoopConfig(readonlyConfig);
        Config config = fillBucket(readonlyConfig, configuration);
        HadoopConf hadoopConf = OssHadoopConf.buildWithConfig(ReadonlyConfig.fromConfig(config));
        Map<String, String> propsInConfiguration =
                configuration.getPropsWithPrefix(StringUtils.EMPTY);
        hadoopConf.setExtraOptions(propsInConfiguration);
        return hadoopConf;
    }
@Test
    void fillBucketInHadoopConfPath() throws URISyntaxException {
        URL resource = OSSStorageTest.class.getResource("/oss");
        String filePath = Paths.get(resource.toURI()).toString();
        HashMap<String, Object> map = new HashMap<>();
        map.put("hive.hadoop.conf-path", filePath);
        map.putAll(OSS.toMap());
        ReadonlyConfig readonlyConfig = ReadonlyConfig.fromMap(map);
        OSSStorage ossStorage = new OSSStorage();
        HadoopConf hadoopConf = ossStorage.buildHadoopConfWithReadOnlyConfig(readonlyConfig);
        assertHadoopConf(hadoopConf);
    }