Skip to content

Commit

Permalink
Set default ports Druid (apache#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 Grace Guo committed Aug 10, 2017
1 parent bff35d9 commit 3266749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
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 3266749

Please sign in to comment.