Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2330

Random key generator can get stuck

    XMLWordPrintableJSON

Details

    Description

      Freon's random key generator can get stuck waiting for completion (without any hint to what's happening) if object creation encounters any non-IOException.

      Steps to reproduce:

      1. Start Ozone cluster with 1 datanode
      2. Start Freon (5K keys of size 1MB)

      Result: after a few hundred keys progress stops.

      $ docker-compose exec scm ozone freon rk --numOfThreads 1 --numOfVolumes 1 --numOfBuckets 1 --replicationType RATIS --factor ONE --keySize $(echo '2^20' | bc -lq) --numOfKeys $(echo '5 * 2^10' | bc -lq) --bufferSize $(echo '2^16' | bc -lq)
      2019-10-18 10:44:45,224 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties
      2019-10-18 10:44:45,381 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s).
      2019-10-18 10:44:45,381 INFO impl.MetricsSystemImpl: ozone-freon metrics system started
      2019-10-18 10:44:47,140 [main] INFO       - Number of Threads: 1
      2019-10-18 10:44:47,145 [main] INFO       - Number of Volumes: 1.
      2019-10-18 10:44:47,146 [main] INFO       - Number of Buckets per Volume: 1.
      2019-10-18 10:44:47,146 [main] INFO       - Number of Keys per Bucket: 5120.
      2019-10-18 10:44:47,147 [main] INFO       - Key size: 1048576 bytes
      2019-10-18 10:44:47,147 [main] INFO       - Buffer size: 65536 bytes
      2019-10-18 10:44:47,147 [main] INFO       - validateWrites : false
      2019-10-18 10:44:47,151 [main] INFO       - Starting progress bar Thread.
      ...
       7.07% |????????                                                                                             |  362/5120 
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m