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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Catalog
    • Labels:

      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. Alexander 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

              • Assignee:
                alex.behm Alexander Behm
                Reporter:
                kwho Michael Ho
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: