org.apache.hadoop.fs.CosN Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hadoop-cos Show documentation
Show all versions of hadoop-cos Show documentation
This module contains code to support integration with Tencent Cloud COS.
It also declares the dependencies needed to work with COS.
package org.apache.hadoop.fs;
import org.apache.hadoop.conf.Configuration;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
public class CosN extends DelegateToFileSystem {
public CosN(URI theUri, Configuration conf) throws IOException,
URISyntaxException {
super(theUri, new CosFileSystem(), conf, CosFileSystem.SCHEME, false);
}
@Override
public int getUriDefaultPort() {
return -1;
}
}