Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2680

In FileSinkOperator if the RecordWriter.write throw IOException, we should call RecordWriter's close method.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0
    • None
    • None
    • None

    Description

      Dynamic-partition Insert, if the partition that will be created is large, many files will be created and if the input is large the DataNode's xceiverCount will easily exceeds the limit of concurrent xcievers (default 1024), The RecordWriter.write(recordValue) will throw the Exception "Could not read from stream". After an hour the lease timeout, there will many commitBlockSynchronization requests and the namenode's load will be very high, so abortWriters should be called.

      Attachments

        1. HIVE-2680.patch
          2 kB
          Lijin Bin

        Activity

          People

            Unassigned Unassigned
            binlijin Lijin Bin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: