Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4998

Table.toThrift() called without holding the table lock: test_view_compatibility_b0595633.test_hive org.apache.impala.catalog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 2.9.0
    • Catalog

    Description

      It appears that the commit https://github.com/apache/incubator-impala/commit/a71636847fe742a9d0eb770516aff34ff16bbca1 caused failure in test_view_compatibility. This may just be exposing pre-existing problem as there are callers of ToThrift() which didn't hold lock. alex.behm, would you mind taking a first look ?

      Error Message
      
      metadata/test_views_compatibility.py:74: in test_view_compatibility     unique_database) metadata/test_views_compatibility.py:138: in _run_view_compat_test_case     assert "TableNotFoundException" in str(e) E   assert 'TableNotFoundException' in "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: \nIllegalStateExcept...t() called without holding the table lock: test_view_compatibility_b0595633.test_hive org.apache.impala.catalog.View\n" E    +  where "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: \nIllegalStateExcept...t() called without holding the table lock: test_view_compatibility_b0595633.test_hive org.apache.impala.catalog.View\n" = str(ImpalaBeeswaxException())
      Stacktrace
      
      metadata/test_views_compatibility.py:74: in test_view_compatibility
          unique_database)
      metadata/test_views_compatibility.py:138: in _run_view_compat_test_case
          assert "TableNotFoundException" in str(e)
      E   assert 'TableNotFoundException' in "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: \nIllegalStateExcept...t() called without holding the table lock: test_view_compatibility_b0595633.test_hive org.apache.impala.catalog.View\n"
      E    +  where "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: \nIllegalStateExcept...t() called without holding the table lock: test_view_compatibility_b0595633.test_hive org.apache.impala.catalog.View\n" = str(ImpalaBeeswaxException())
      

      Attachments

        Issue Links

          Activity

            People

              alex.behm Alexander Behm
              kwho Michael Ho
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: