Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25778

Hive DB creation is failing when MANAGEDLOCATION is specified with existing location

    XMLWordPrintableJSON

Details

    Description

      As part of HIVE-23387 check is added to restrict user from creating database with managed table location, if the location is already present. This was not the case. As this is causing backward compatibility issue, the check needs to be removed.

       

      if (madeManagedDir) {
        LOG.info("Created database path in managed directory " + dbMgdPath);
      } else {
        throw new MetaException(
            "Unable to create database managed directory " + dbMgdPath + ", failed to create database " + db.getName());
      }  

       

      Attachments

        Issue Links

          Activity

            People

              maheshk114 mahesh kumar behera
              maheshk114 mahesh kumar behera
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 0.5h
                  0.5h