Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12615 Router-based HDFS federation phase 2
  3. HDFS-13045

RBF: Improve error message returned from subcluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • None
    • None

    Description

      Currently, Router directly returns exception response from subcluster to client, which may not have the correct error message, especially when the error message containing a path.

      One example, we have a mount path "/a/b" mapped to subclusterA's "/c/d". If user1 does a chown operation on "/a/b", and he doesn't have corresponding privilege, currently the error msg looks like "Permission denied. user=user1 is not the owner of inode=/c/d", which may confuse user. Would be better to reverse the path back to original mount path.

       

       

      Attachments

        1. HDFS-13045.004.patch
          19 kB
          Íñigo Goiri
        2. HDFS-13045.003.patch
          19 kB
          Íñigo Goiri
        3. HDFS-13045.002.patch
          18 kB
          Íñigo Goiri
        4. HDFS-13045.001.patch
          13 kB
          Íñigo Goiri
        5. HDFS-13045.000.patch
          3 kB
          Íñigo Goiri

        Activity

          People

            elgoiri Íñigo Goiri
            ywskycn Wei Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: