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

    Details

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: