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

Failures in TestRemoteHiveMetaStore, TestSetUGIOnOnlyServer

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: