/** * Create a new Atlas client. * @param baseUrls A list of URLs that point to an ensemble of Atlas servers working in * High Availability mode. The client will automatically determine the * active instance on startup and also when there is a scenario of * failover. */ public AtlasClient(String... baseUrls) throws AtlasException { this(getCurrentUGI(), baseUrls); }
/** * Create a new Atlas client. * @param baseUrls A list of URLs that point to an ensemble of Atlas servers working in * High Availability mode. The client will automatically determine the * active instance on startup and also when there is a scenario of * failover. */ public AtlasClient(String... baseUrls) throws AtlasException { this(getCurrentUGI(), baseUrls); }
/** * Create a new Atlas client. * @param baseUrls A list of URLs that point to an ensemble of Atlas servers working in * High Availability mode. The client will automatically determine the * active instance on startup and also when there is a scenario of * failover. */ public AtlasClient(String... baseUrls) throws AtlasException { this(getCurrentUGI(), baseUrls); }
@VisibleForTesting public AtlasClient(Configuration configuration, String... baseUrls) throws AtlasException { initializeState(configuration, baseUrls, getCurrentUGI(), getCurrentUGI().getShortUserName()); }
@VisibleForTesting public AtlasClient(Configuration configuration, String... baseUrls) throws AtlasException { initializeState(configuration, baseUrls, getCurrentUGI(), getCurrentUGI().getShortUserName()); }
@VisibleForTesting public AtlasClient(Configuration configuration, String... baseUrls) throws AtlasException { initializeState(configuration, baseUrls, getCurrentUGI(), getCurrentUGI().getShortUserName()); }