Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2841

Dfs methods should not throw RemoteException

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Dfs should unwrap the RemoteException and throw the real cause of the error to the user. This allows the user to find out the real cause without examining the remote exception. This also allows the user to use the dfs interface without aware of the implementation details (i.e. rpc).

        Attachments

        1. getNodeNPE.patch
          23 kB
          Konstantin Shvachko
        2. getNodeNPE.patch
          23 kB
          Konstantin Shvachko
        3. getNodeNPE.patch
          23 kB
          Konstantin Shvachko
        4. getNodeNPE.patch
          24 kB
          Konstantin Shvachko
        5. getNodeNPE.patch
          24 kB
          Konstantin Shvachko
        6. getNodeNPE.patch
          24 kB
          Konstantin Shvachko

          Issue Links

            Activity

              People

              • Assignee:
                shv Konstantin Shvachko
                Reporter:
                hairong Hairong Kuang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: