Problem: Airflow login failed with an “Invalid login” prompt for the user “admin” in production. The environment details are as follows: Helm version 1.9.0 and Airflow Image version 2.6.3. The expected outcome was a successful login. Solution: Identify the Issue: The problem was related to login issues with the Airflow UI using the “admin” user. […]
Data Analytics 30 Aug 2024 Altering Cassandra Keyspace in a Multi-DC Setup: Best Practices and Key StepsProblem: The client had a 6-node multi-DC setup for Cassandra (3 nodes in PROD and 3 nodes in DR) and needed to alter a keyspace. The keyspace was initially defined as follows: CREATE KEYSPACE my_keyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '3'} AND durable_writes = true; The client wanted to change the strategy to “NetworkTopologyStrategy” […]
Database 30 Aug 2024 Resolving Certificate Issues with Podman and Local Nexus RegistryProblem: A client faced difficulties downloading images from their local Nexus repository using Podman. Despite several troubleshooting attempts, including adding the registry to insecure registries and adding the certificate locally, the issue persisted. The specific error encountered was related to certificate validation. Process: Initial Troubleshooting: The client added the Nexus registry to the list of […]
Developer Tools 30 Aug 2024 Proper Shutdown Procedures for Cassandra to Ensure Data IntegrityProblem: A client was experiencing data inconsistencies with the Lucene index on Cassandra and suspected improper shutdown procedures as the root cause. The kill -9 command was used to shut down Cassandra, which led to concerns that data was not being written to disk properly. The client sought guidance on the best way to shut […]
Database 28 Aug 2024 Seamlessly Transition from PodPreset to Admission Webhooks: Overcoming Kubernetes Upgrade HurdlesProblem: The customer upgraded their Kubernetes cluster from version 1.19 to 1.24.8. Following this upgrade, they lost access to the PodPreset feature, which was removed in Kubernetes version 1.20. The customer needed a replacement for this functionality and identified Admission Webhooks as a potential solution. However, despite following RedHat’s procedure for implementing Admission Webhooks, the […]
Developer Tools 28 Aug 2024 Optimizing Elasticsearch Query Performance for Large DocumentsProblem: The client faced significant delays in executing Elasticsearch queries within their production environment. A particular query on a simple numeric identifier took over a minute to execute, despite returning only a few hits and a small result set. The Elasticsearch profiler indicated that almost all of this time was spent in the “HighlightPhase.” One […]
Data Analytics 28 Aug 2024 Optimizing Cassandra Storage with RAID0 ArrayProblem: The client managed a 5-node Cassandra cluster across two data centers (DC1 and DR1), each containing 5 nodes. The data_file_directories were distributed across multiple mount points. On one node, the mount point /cassandra/data2 was nearly full due to a single large table in one of the application keyspaces. This resulted in significant storage imbalance, […]
Database 26 Aug 2024 Resolving SSL Connection Issues in PostgreSQLProblem: The application fails to establish an SSL connection to the database, displaying the error “could not accept SSL connection: Success” in the database logs. Despite this, manual `psql` connections using SSL work fine. Process: Step 1 – Verify Connection String: Confirm that the application’s connection string includes the necessary SSL parameters. Example: postgresql://user:password@hostname:port/dbname?sslmode=require Step […]
Database 23 Aug 2024 Compatibility Issue Between Zipkin 2.24.2 and Elasticsearch 8.xProblem: Zipkin version 2.24.2 does not support Elasticsearch 8.x, which poses a significant obstacle as many of our clusters are already upgraded to Elasticsearch 8.x. This compatibility issue needs to be addressed to ensure seamless operation of our monitoring and tracing functionalities. Solution: Assessment and Documentation: Conducted thorough analysis and documented the current compatibility status […]
Developer Tools