Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34373

HiveThriftServer2 startWithContext may hang with a race issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1, 3.1.0
    • Fix Version/s: 3.1.1
    • Component/s: SQL
    • Labels:
      None

      Description

      ```
      21:43:26.809 WARN org.apache.thrift.server.TThreadPoolServer: Transport error occurred during acceptance of message.
      org.apache.thrift.transport.TTransportException: No underlying server socket.
      at org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.java:126)
      at org.apache.thrift.transport.TServerSocket.acceptImpl(TServerSocket.java:35)
      at org.apache.thrift.transport.TServerTransport.acceException in thread "Thread-15" java.io.IOException: Stream closed
      at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
      at java.io.FilterInputStream.read(FilterInputStream.java:107)
      at scala.sys.process.BasicIO$.loop$1(BasicIO.scala:238)
      at scala.sys.process.BasicIO$.transferFullyImpl(BasicIO.scala:246)
      at scala.sys.process.BasicIO$.transferFully(BasicIO.scala:227)
      at scala.sys.process.BasicIO$.$anonfun$toStdOut$1(BasicIO.scala:221)
      ```
      the TServer might try to serve even the stop is called

        Attachments

          Activity

            People

            • Assignee:
              Qin Yao Kent Yao
              Reporter:
              Qin Yao Kent Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: