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

    • Sub-task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.8.0
    • sdk-py-core
    • 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

              ruoyun Ruoyun Huang
              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