Skip to content

Commit

Permalink
Merge pull request #1643 from sowmya-dixit/release-5.2.0
Browse files Browse the repository at this point in the history
Secor file pattern issue fixes for Azure
  • Loading branch information
sowmya-dixit authored Jun 4, 2024
2 parents bf1d391 + 4222106 commit dbb3267
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/analytics-spark-provision/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ analytics:
soft_path: /mount/data/analytics
base_path: /home/analytics
scala_version: 2.12.10
spark_version: 3.2.1
spark_version: 3.1.3
model_version: "2.0"
spark:
home: "{{ analytics.home }}/spark-{{ spark_version }}-bin-hadoop2.7"
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/content-snapshot-indexer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ cloud_storage:
provider: "azure"
account_name: "{{cloud_public_storage_accountname}}"
account_key: "{{cloud_public_storage_secret}}"
account_endpoint: ""

cassandra:
host: "{{lp_cassandra_host}}" ## LMS-Cassandra IP Address.
Expand Down
14 changes: 14 additions & 0 deletions kubernetes/helm_charts/secor/config/secor.azure.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ secor.azure.container.name={{ $.Values.azure_container_name }}
# Microsoft Azure blob storage path where files are stored within the container.
secor.azure.path={{- get (get $.Values.secor_jobs $.Release.Name) "base_path" }}

# Output file pattern excluding prefix. Defaults to topic/partition/generation_kafkaPartition_fmOffset.gz.
# Available placeholders are
# topic - The topic name the data is being fetched
# partition - The partition name
# generation - Generation
# kafkaPartition - The kafka partition
# fmOffset - First Message offset in the file.
# randomHex - A 4 character random hex to append to the file name
# currentTimestamp - Time of upload in epoch format
# currentTime - Time of upload in HH-mm format
# currentDate - Time of upload in YYYYMMDD format
# folder - Folder to use based on message id map lookup
secor.s3.output_file_pattern={{ get (get $.Values.secor_jobs $.Release.Name) "output_file_pattern" }}

################
# END MUST SET #
################

0 comments on commit dbb3267

Please sign in to comment.