Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-5794

[thrift] when use sessionPool.fetchAllConnections(),the datanode print TProtocolException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • master branch, 1.0, 1.1.0, 1.2
    • None
    • Core/Server

    Description

      when use fetchAllConnections(), Sometimes it doesn't work。

      datanode throws  TProtocolException: Required field 'userName' was not present! Struct: TSConnectionInfo(userName:null, logInTime:0, connectionId:172.20.31.19:57584, type:THRIFT_BASED). 

      Under what circumstances does this problem occur。

      Sometimes the field 'userName'  maybe empty 

      branch:rel/1.0、rel/1.1、master

      ------

      fetchAllConnections方法有时候无法正常返回连接信息。

      查看服务器出现如下日志。不确定什么情况下会出现该问题,但是经常会出现。

      看日志是某些连接 'userName' 为空导致的,可能是建立了thrift连接但没有正常使用?

      影响分支:rel/1.0、rel/1.1、master

      Attachments

        Activity

          People

            Unassigned Unassigned
            Rong Li rongli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: