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

Fix S3a recursive listing logic

    XMLWordPrintableJSON

Details

    Description

      To make the path relative:

      Path relativePath = new Path(each.getPath().toString().replace(base.toString(), ""));

       

      Here base in the FileStatus not the path. It should be base.getPath().toString() and instead of replace it should be replaceFirst()

      Attachments

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h
                  1h