Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2, 3.4.0
    • Component/s: java client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      ClientCnxn.java currently has the following code:
      if (replyHdr.getXid() == -4) {
      // -2 is the xid for AuthPacket
      // TODO: process AuthPacket here
      if (LOG.isDebugEnabled())

      { LOG.debug("Got auth sessionid:0x" + Long.toHexString(sessionId)); }

      return;
      }

      Auth failures appear to cause the server to disconnect but the client never gets a proper state change or notification that auth has failed, which makes handling this scenario very difficult as it causes the client to go into a loop of sending bad auth, getting disconnected, trying to reconnect, sending bad auth again, over and over.

      1. ZOOKEEPER332-844
        5 kB
        Camille Fournier
      2. ZOOKEEPER-844.patch
        4 kB
        Camille Fournier

        Activity

        Camille Fournier created issue -
        Camille Fournier made changes -
        Field Original Value New Value
        Attachment ZOOKEEPER-844.patch [ 12452428 ]
        Patrick Hunt made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Camille Fournier [ fournc ]
        Fix Version/s 3.4.0 [ 12314469 ]
        Giridharan Kesavan made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Giridharan Kesavan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Camille Fournier made changes -
        Fix Version/s 3.3.2 [ 12315108 ]
        Camille Fournier made changes -
        Attachment ZOOKEEPER332-844 [ 12453719 ]
        Patrick Hunt made changes -
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Patrick Hunt made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Giridharan Kesavan made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Giridharan Kesavan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Camille Fournier made changes -
        Attachment ZOOKEEPER332-844 [ 12453719 ]
        Camille Fournier made changes -
        Attachment ZOOKEEPER-844.patch [ 12452428 ]
        Camille Fournier made changes -
        Attachment ZOOKEEPER332-844 [ 12454792 ]
        Camille Fournier made changes -
        Attachment ZOOKEEPER-844.patch [ 12454794 ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Mahadev konar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Camille Fournier
            Reporter:
            Camille Fournier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development