[ 
https://issues.apache.org/jira/browse/HIVE-24484?focusedWorklogId=776152&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-776152
 ]

ASF GitHub Bot logged work on HIVE-24484:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/May/22 09:10
            Start Date: 31/May/22 09:10
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on code in PR #3279:
URL: https://github.com/apache/hive/pull/3279#discussion_r885395534


##########
ql/src/java/org/apache/hadoop/hive/ql/io/RecordReaderWrapper.java:
##########
@@ -69,7 +70,14 @@ static RecordReader create(InputFormat inputFormat, 
HiveInputFormat.HiveInputSpl
       JobConf jobConf, Reporter reporter) throws IOException {
     int headerCount = Utilities.getHeaderCount(tableDesc);
     int footerCount = Utilities.getFooterCount(tableDesc, jobConf);
-    RecordReader innerReader = 
inputFormat.getRecordReader(split.getInputSplit(), jobConf, reporter);
+
+    RecordReader innerReader = null;
+    try {
+     innerReader = inputFormat.getRecordReader(split.getInputSplit(), jobConf, 
reporter);
+    } catch (InterruptedIOException iioe) {
+      // If reading from the underlying record reader is interrupted, return a 
no-op record reader

Review Comment:
   Does this log line work:
   ```
         LOG.info("Interrupted while getting the input reader for {}", 
split.getInputSplit());
   ```
   For 2nd I suppose it can get interrupted on any abort, not very sure, do you 
have any suggestions





Issue Time Tracking
-------------------

    Worklog Id:     (was: 776152)
    Time Spent: 11h 13m  (was: 11.05h)

> Upgrade Hadoop to 3.3.1
> -----------------------
>
>                 Key: HIVE-24484
>                 URL: https://issues.apache.org/jira/browse/HIVE-24484
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 11h 13m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to