use of co.cask.cdap.security.impersonation.UnsupportedUGIProvider in project cdap by caskdata.
the class StreamFileJanitorTestBase method setup.
@Before
public void setup() throws Exception {
// FileStreamAdmin expects namespace directory to exist.
// Simulate namespace create, since its an inmemory-namespace admin
getNamespaceAdmin().create(NamespaceMeta.DEFAULT);
getNamespacedLocationFactory().get(NamespaceId.DEFAULT).mkdirs();
impersonator = new DefaultImpersonator(cConf, new UnsupportedUGIProvider());
}
Aggregations