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

"Not enough xcievers" error should propagate to client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.23.0
    • None
    • datanode
    • This changes the DataTransferProtocol to return a new error code when a max tranfers exceeded messages is encountered.

    Description

      We find that users often run into the default transceiver limits in the DN. Putting aside the inherent issues with xceiver threads, it would be nice if the "xceiver limit exceeded" error propagated to the client. Currently, clients simply see an EOFException which is hard to interpret, and have to go slogging through DN logs to find the underlying issue.

      The data transfer protocol should be extended to either have a special error code for "not enough xceivers" or should have some error code for generic errors with which a string can be attached and propagated.

      Attachments

        1. hdfs-1787.patch
          20 kB
          Jonathan Hsieh
        2. hdfs-1787.5.patch
          18 kB
          Jonathan Hsieh
        3. hdfs-1787.3.patch
          20 kB
          Jonathan Hsieh
        4. hdfs-1787.3.patch
          19 kB
          Jonathan Hsieh
        5. hdfs-1787.2.patch
          20 kB
          Jonathan Hsieh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: