Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8065 Support HDFS encryption functionality on Hive
  3. HIVE-9349

Remove the schema in the getQualifiedPathWithoutSchemeAndAuthority method

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • encryption-branch
    • None
    • None

    Description

      We should get the absolute path and then get the path without schema.
      Current code is like:
      Path path = Path.getPathWithoutSchemeAndAuthority(srcf);
      return path.makeQualified(path.toUri(), currentWorkingDir).toString();
      The correct order should be like:
      Path path = srcf.makeQualified(srcf.toUri(), currentWorkingDir);
      Path.getPathWithoutSchemeAndAuthority(path).toString();

      Attachments

        1. HIVE-9349-encryption.patch
          2 kB
          Ferdinand Xu

        Activity

          People

            Ferd Ferdinand Xu
            Ferd Ferdinand Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: