Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15058 [Umbrella] Current Flaky Tests
  3. HIVE-15969

Failures in TestRemoteHiveMetaStore, TestSetUGIOnOnlyServer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • None
    • None

    Description

      Looks like the additional failures in TestRemoteHiveMetaStore, TestSetUGIOnOnlyServer
      are related to this patch in HIVE-15877.
      I don't think that change was intended.

      --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
      +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
      @@ -739,7 +739,10 @@ public void createTable(Table tbl, EnvironmentContext envContext) throws Already
               hook.commitCreateTable(tbl);
             }
             success = true;
      -    } finally {
      +    } catch (Exception e){
      +      LOG.error("Got exception from createTable", e);
      +    }
      +    finally {
             if (!success && (hook != null)) {
               hook.rollbackCreateTable(tbl);
             }
      
      

      Attachments

        1. HIVE-15969.patch
          0.9 kB
          Slim Bouguerra
        2. HIVE-15969.2.patch
          1 kB
          Slim Bouguerra

        Issue Links

          Activity

            People

              bslim Slim Bouguerra
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: