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

Dfs methods should not throw RemoteException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.17.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: