Hadoop Common
  1. Hadoop Common
  2. HADOOP-2841

Dfs methods should not throw RemoteException

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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).

      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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development