[ https://issues.apache.org/jira/browse/HIVE-22955?focusedWorklogId=409400&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-409400 ]
ASF GitHub Bot logged work on HIVE-22955: ----------------------------------------- Author: ASF GitHub Bot Created on: 25/Mar/20 09:29 Start Date: 25/Mar/20 09:29 Worklog Time Spent: 10m Work Description: ghanko commented on pull request #936: HIVE-22955: PreUpgradeTool can fail because access to CharsetDecoder is not synchronized URL: https://github.com/apache/hive/pull/936 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 409400) Time Spent: 20m (was: 10m) > PreUpgradeTool can fail because access to CharsetDecoder is not synchronized > ---------------------------------------------------------------------------- > > Key: HIVE-22955 > URL: https://issues.apache.org/jira/browse/HIVE-22955 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 4.0.0 > Reporter: Hankó Gergely > Assignee: Hankó Gergely > Priority: Major > Labels: pull-request-available > Attachments: HIVE-22955.1.patch, HIVE-22955.2.patch > > Time Spent: 20m > Remaining Estimate: 0h > > {code:java} > 2020-02-26 20:22:49,683 ERROR [main] acid.PreUpgradeTool > (PreUpgradeTool.java:main(150)) - PreUpgradeTool failed > org.apache.hadoop.hive.ql.metadata.HiveException at > org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.prepareAcidUpgradeInternal(PreUpgradeTool.java:283) > at > org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.main(PreUpgradeTool.java:146) > Caused by: java.lang.RuntimeException: > java.util.concurrent.ExecutionException: java.lang.RuntimeException: > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.IllegalStateException: Current state = RESET, new state = FLUSHED > ... > Caused by: java.lang.IllegalStateException: Current state = RESET, new state > = FLUSHED at > java.nio.charset.CharsetDecoder.throwIllegalStateException(CharsetDecoder.java:992) > at java.nio.charset.CharsetDecoder.flush(CharsetDecoder.java:675) at > java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:804) at > org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.needsCompaction(PreUpgradeTool.java:606) > at > org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.needsCompaction(PreUpgradeTool.java:567) > at > org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.getCompactionCommands(PreUpgradeTool.java:464) > at > org.apache.hadoop.hive.upgrade.acid.PreUpgradeTool.processTable(PreUpgradeTool.java:374) > {code} > This is probably caused by HIVE-21948. -- This message was sent by Atlassian Jira (v8.3.4#803005)