Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1398

Impala does not properly handle closed catalogd connections.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.3, Impala 1.4
    • Impala 2.0
    • None
    • None

    Description

      Filing this issue to raise awareness.

      An impalad with an existing (cached) connection to the catalogd will not properly handle that connection being closed from the catalogd side for whatever reason.

      Manifestations of this bug:
      1. if the catalogd went down or was restarted, such an impalad will crash when trying to run DDL
      From the Impala shell you'll see:

      Socket error 104: Connection reset by peer
      

      In the error logs:

      From the error logs:
      terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
        what():  No more data to read.
      

      2. if the socket times out on the catalogd side, impalads attempting to run DDL can experience an unrecoverable broken pipe

      Application Exception : write() send(): Broken pipe
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: