broad-battery-31188
02/09/2024, 2:21 PMdatahub_usage_event-XXXXXX to 1 from the default value of 5 using datahub-helm ?gray-ocean-32209
02/11/2024, 11:47 AMELASTICSEARCH_INDEX_BUILDER_SETTINGS_REINDEX=true
and the specific shard count overridden for the index
ELASTICSEARCH_INDEX_BUILDER_ENTITY_SETTINGS_OVERRIDES='{"datasetindex_v2":{"number_of_shards":"10"}}').
These configs in value.yml
https://github.com/acryldata/datahub-helm/blob/ecb168d9255435476311c6d6808bf214f587e72c/charts/datahub/values.yaml#L412
enable datahubSystemUpdate job while making this config chnages. any changes in the chart value for ES shards the datahubSystemUpdate will trigger the reindex based on the diff between the expected and actual shard settingsbroad-battery-31188
02/12/2024, 3:39 PM'{"datahub_usage_event":{"number_of_shards":"1"},"system_metadata_service_v1":{"number_of_shards":"5"}}' config for datahub_usage_event_XXXXX. The shards are still 5. This index is created frequently with a number as a postfix.gray-ocean-32209
02/12/2024, 5:24 PM"number_of_shards":"5" or "number_of_shards":"1" ?broad-battery-31188
02/12/2024, 5:44 PMdatahub_usage_event_xxxx index gets created with 5 shards even after adding the config of "number_of_shards":"1"billions-tailor-78534
02/13/2024, 4:10 AMdatahub_usage_event is 1.
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html#increment-index-names-for-aliasbillions-tailor-78534
02/13/2024, 4:15 AMbroad-battery-31188
02/13/2024, 1:46 PMsettingsOverrides: '{"datahub_usage_event": {"number_of_shards":"1", "number_of_replicas":"1"}}'
/_cat/in
dices | grep datahub_usage_event-
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7788 100 7788 0 0 124k 0 --:--:-- --:--:-- --:--:-- 126k
green open datahub_usage_event-000004 H-xxxxxx 5 1 0 0 2kb 1kb
green open datahub_usage_event-000003 f0JLy-xx 5 1 0 0 2kb 1kb
green open datahub_usage_event-000002 4cPlC1-x 5 1 0 0 2kb 1kb
green open datahub_usage_event-000001 xxxxxxxx 5 1 0 0 2kb 1kbbroad-battery-31188
02/13/2024, 1:48 PMdatahub_usage_event is 5rich-barista-93413
02/13/2024, 3:05 PMrich-barista-93413
02/13/2024, 3:05 PMbillions-tailor-78534
02/13/2024, 3:09 PM/_cat/indices?h=index,pribroad-battery-31188
02/13/2024, 3:37 PM_cat/in
dices?h=index,pri
chart_chartusagestatisticsaspect_v1 1
datajobindex_v2 1
dataflowindex_v2 1
mlmodelgroupindex_v2 1
assertionindex_v2 1
roleindex_v2 1
dataprocessindex_v2 1
.opendistro-reports-definitions 1
globalsettingsindex_v2 1
.opendistro_security 1
.opendistro-reports-instances 1
chartindex_v2 1
tagindex_v2 1
.opensearch-observability 1
dataplatforminstanceindex_v2 1
telemetryindex_v2 1
datajob_datahubingestionrunsummaryaspect_v1 1
dataplatformindex_v2 1
dataproductindex_v2 1
dataprocessinstanceindex_v2 1
invitetokenindex_v2 1
graph_service_v1 1
system_metadata_service_v1 1
dataset_operationaspect_v1 1
containerindex_v2 1
.tasks 1
schemafieldindex_v2 1
domainindex_v2 1
notebookindex_v2 1
datahubupgradeindex_v2 1
datahubroleindex_v2 1
glossarytermindex_v2 1
postindex_v2 1
dataset_datasetusagestatisticsaspect_v1 1
datahubexecutionrequestindex_v2 1
dataset_datasetprofileaspect_v1 1
datahubsecretindex_v2 1
mlmodelindex_v2 1
datahubpolicyindex_v2 1
corpuserindex_v2 1
datahubstepstateindex_v2 1
datahubviewindex_v2 1
queryindex_v2 1
mlmodeldeploymentindex_v2 1
datajob_datahubingestioncheckpointaspect_v1 1
dashboardindex_v2 1
assertion_assertionruneventaspect_v1 1
datasetindex_v2 1
mlfeatureindex_v2 1
dashboard_dashboardusagestatisticsaspect_v1 1
datahub_usage_event-000004 5
datahub_usage_event-000003 5
datahub_usage_event-000005 5
glossarynodeindex_v2 1
datahubingestionsourceindex_v2 1
datahubretentionindex_v2 1
ownershiptypeindex_v2 1
dataprocessinstance_dataprocessinstanceruneventaspect_v1 1
.kibana_1 1
datahub_usage_event-000002 5
datahubaccesstokenindex_v2 1
datahub_usage_event-000001 5
testindex_v2 1
mlfeaturetableindex_v2 1
.opendistro-job-scheduler-lock 5
mlprimarykeyindex_v2 1
corpgroupindex_v2 1billions-tailor-78534
02/13/2024, 3:56 PMPrevious versions of Elasticsearch defaulted to creating five shards per index. Starting with 7.0.0, the default is now one shard per index.https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#_index_creation_no_longer_defaults_to_five_shards
billions-tailor-78534
02/13/2024, 3:57 PMdatahub_usage_event.rich-barista-93413
02/13/2024, 4:09 PMbroad-battery-31188
02/13/2024, 5:34 PM