congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ZkPathsConfig.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.druid.server.initialization.ZkPathsConfig
constructor

Best Java code snippets using org.apache.druid.server.initialization.ZkPathsConfig.<init> (Showing top 8 results out of 315)

origin: apache/incubator-druid

public BrokerServerViewTest()
{
 jsonMapper = TestHelper.makeJsonMapper();
 zkPathsConfig = new ZkPathsConfig();
}
origin: apache/incubator-druid

public CuratorDruidCoordinatorTest()
{
 jsonMapper = TestHelper.makeJsonMapper();
 zkPathsConfig = new ZkPathsConfig();
}
origin: apache/incubator-druid

public CoordinatorServerViewTest()
{
 jsonMapper = TestHelper.makeJsonMapper();
 zkPathsConfig = new ZkPathsConfig();
 inventoryPath = zkPathsConfig.getLiveSegmentsPath();
}
origin: apache/incubator-druid

 @Test
 public void testFullOverride() throws Exception
 {
  final DefaultObjectMapper mapper = new DefaultObjectMapper();
  final ZkPathsConfig zkPathsConfig = new ZkPathsConfig();

  IndexerZkConfig indexerZkConfig = new IndexerZkConfig(
    zkPathsConfig,
    "/druid/prod",
    "/druid/prod/a",
    "/druid/prod/t",
    "/druid/prod/s"
  );

  Map<String, String> value = mapper.readValue(
    mapper.writeValueAsString(indexerZkConfig), JacksonUtils.TYPE_REFERENCE_MAP_STRING_STRING
  );
  IndexerZkConfig newConfig = new IndexerZkConfig(
    zkPathsConfig,
    value.get("base"),
    value.get("announcementsPath"),
    value.get("tasksPath"),
    value.get("statusPath")
  );

  Assert.assertEquals(indexerZkConfig, newConfig);
 }
}
origin: apache/incubator-druid

  taskStorage,
  EasyMock.createNiceMock(CuratorFramework.class),
  new IndexerZkConfig(new ZkPathsConfig(), null, null, null, null)
);
origin: apache/incubator-druid

new ZkPathsConfig()
origin: apache/incubator-druid

coordinator = new DruidCoordinator(
  druidCoordinatorConfig,
  new ZkPathsConfig()
origin: apache/incubator-druid

  new ZkPathsConfig(),
  objectMapper
);
  new ZkPathsConfig(),
  objectMapper
);
org.apache.druid.server.initializationZkPathsConfig<init>

Popular methods of ZkPathsConfig

  • defaultPath
  • getAnnouncementsPath
  • getLiveSegmentsPath
  • getLoadQueuePath
  • equals
  • getBase
  • getConnectorPath
  • getCoordinatorPath
  • getInternalDiscoveryPath
  • getOverlordPath
  • getPropertiesPath
  • getServedSegmentsPath
  • getPropertiesPath,
  • getServedSegmentsPath,
  • hashCode

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Option (scala)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now