Skip to content

Tag: java

Error while uploading to S3 from Hadoop using s3a

I am running a java application on kubernetes which upload multiple files from local container to s3 bucket using s3a, but I am getting the below exception in logs and files are not getting uploaded to s3. Partial files are getting uploaded to s3 Answer Looks like this is a bug. problems caused by AWS SDK cla…

Store date in AEST timezone in database

We have two tables in oracle db as below, TableA => Column DateA (type DATE) TableB => Column DateB (type DATE) DateA column in TableA has dates stored in UTC. DateB column in TableB has dates stored in AEST. When I checked the code (its in java) where the dates are being stored in these tables, both ar…

Unexpected backlog size in Pulsar

I’m using Pulsar for communication between services and I’m experiencing flakiness in a quite simple test of producers and consumers. In JUnit 4 test, I spin up (my own wrappers around) a ZooKeeper server, a BookKeeper bookie, and a PulsarService; the configurations should be quite standard. The t…