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

Incorrect javadoc in SaslDataTransferServer.java#receive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: encryption
    • Labels:
      None

      Description

      The javadoc for the receive incorrectly states "int" in the 4th parameter. This should be corrected to remove the int.

        /**
         * Receives SASL negotiation from a peer on behalf of a server.
         *
         * @param peer connection peer
         * @param underlyingOut connection output stream
         * @param underlyingIn connection input stream
         * @param int xferPort data transfer port of DataNode accepting connection
         * @param datanodeId ID of DataNode accepting connection
         * @return new pair of streams, wrapped after SASL negotiation
         * @throws IOException for any error
         */
      

        Attachments

        1. HDFS-12951.001.patch
          1 kB
          Mukul Kumar Singh

          Activity

            People

            • Assignee:
              msingh Mukul Kumar Singh
              Reporter:
              msingh Mukul Kumar Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: