Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-5626

Several IO tests fail in Python 3 with RuntimeError('dictionary changed size during iteration',)}

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      ERROR: test_delete_dir (apache_beam.io.hadoopfilesystem_test.HadoopFileSystemTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/io/hadoopfilesystem_test.py", line 506, in test_delete_dir
      self.fs.delete([url_t1])
      File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/io/hadoopfilesystem.py", line 370, in delete
      raise BeamIOError("Delete operation failed", exceptions)
      apache_beam.io.filesystem.BeamIOError: Delete operation failed with exceptions

      {'hdfs://test_dir/new_dir1': RuntimeError('dictionary changed size during iteration', )}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ruoyun Ruoyun Huang
                Reporter:
                tvalentyn Valentyn Tymofieiev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 6h
                  6h