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

HiveThriftServer2 startWithContext may hang with a race issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1, 3.1.0
    • 3.1.1
    • SQL
    • 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

            Qin Yao Kent Yao 2
            Qin Yao Kent Yao 2
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: