Class HelixServerStarter
- java.lang.Object
-
- org.apache.pinot.server.starter.helix.BaseServerStarter
-
- org.apache.pinot.server.starter.helix.HelixServerStarter
-
- All Implemented Interfaces:
ServiceStartable
public class HelixServerStarter extends BaseServerStarter
Starter for Pinot server.When the server starts for the first time, it will automatically join the Helix cluster with the default tag.
-
Optional start-up checks:
- Service status check (ON by default)
-
Optional shut-down checks:
- Query check (drains and finishes existing queries, ON by default)
- Resource check (wait for all resources OFFLINE, OFF by default)
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.server.starter.helix.BaseServerStarter
_adminApiApplication, _helixAdmin, _helixClusterName, _helixManager, _hostname, _instanceConfigScope, _instanceId, _listenerConfigs, _pinotEnvironmentProvider, _port, _realtimeLuceneIndexRefreshState, _serverConf, _serverInstance, _serverQueriesDisabledTracker, _zkAddress
-
-
Constructor Summary
Constructors Constructor Description HelixServerStarter()HelixServerStarter(String helixClusterName, String zkAddress, PinotConfiguration serverConf)Deprecated.HelixServerStarter(PinotConfiguration serverConf)Deprecated.
-
Method Summary
Modifier and Type Method Description static voidmain(String[] args)static HelixServerStarterstartDefault()This method is for reference purpose only.-
Methods inherited from class org.apache.pinot.server.starter.helix.BaseServerStarter
getConfig, getInstanceId, getServerInstance, getServiceRole, init, start, stop
-
-
-
-
Constructor Detail
-
HelixServerStarter
public HelixServerStarter()
-
HelixServerStarter
@Deprecated public HelixServerStarter(String helixClusterName, String zkAddress, PinotConfiguration serverConf) throws Exception
Deprecated.- Throws:
Exception
-
HelixServerStarter
@Deprecated public HelixServerStarter(PinotConfiguration serverConf) throws Exception
Deprecated.- Throws:
Exception
-
-