Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14867

RBF: RouterRpcServer.getListing() returns wrong owner, group and permission.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It's a simple bug, caused by RouterClientProtocl#821, a broken path is passed to getMountPointStatus(). We should pass the full path of the child.
      The original test case TestRouterMountTable.testMountTablePermissionsNoDest() doesn't cover enough cases, so I extend it. Test case TestRouterMountTable.testGetMountPointStatusWithIOException() is also broken, userB and groupB should be set to entry /testA/testB.

        Attachments

        1. HDFS-14867.001.patch
          5 kB
          Jinglun

          Issue Links

            Activity

              People

              • Assignee:
                LiJinglun Jinglun
                Reporter:
                LiJinglun Jinglun
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: