Skip to content

Commit

Permalink
Set default ports Druid (#3266)
Browse files Browse the repository at this point in the history
For Druid set the default port for the broker and coordinator.
  • Loading branch information
Fokko authored and mistercrunch committed Aug 10, 2017
1 parent 327c052 commit 0cf0860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/connectors/druid/models.py
Expand Up @@ -69,11 +69,11 @@ class DruidCluster(Model, AuditMixinNullable):
# short unique name, used in permissions
cluster_name = Column(String(250), unique=True)
coordinator_host = Column(String(255))
coordinator_port = Column(Integer)
coordinator_port = Column(Integer, default=8081)
coordinator_endpoint = Column(
String(255), default='druid/coordinator/v1/metadata')
broker_host = Column(String(255))
broker_port = Column(Integer)
broker_port = Column(Integer, default=8082)
broker_endpoint = Column(String(255), default='druid/v2')
metadata_last_refreshed = Column(DateTime)
cache_timeout = Column(Integer)
Expand Down

0 comments on commit 0cf0860

Please sign in to comment.