Skip to content

Instantly share code, notes, and snippets.

@jamedge
Created March 18, 2019 15:02
Show Gist options
  • Save jamedge/12c99b8b70b324e45d92acf5156fb1f1 to your computer and use it in GitHub Desktop.
Save jamedge/12c99b8b70b324e45d92acf5156fb1f1 to your computer and use it in GitHub Desktop.
[druid: disable segment] Disables a druid segment (doesn't remove it from cold storage though) #druid #shell
curl -XDELETE http://<coordinator_domain>:<coordinator_port>/druid/coordinator/v1/datasources/<datasource_name>/segments/<segment_id>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment