[ https://issues.apache.org/jira/browse/HIVE-8808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207169#comment-14207169 ]
Sushanth Sowmyan commented on HIVE-8808: ---------------------------------------- +cc [~elserj] for an accumulo perspective on this. My personal preference is that in getInputFormatFromCache, if we detect that the class is a hbase input format, then we return new instance and not populate the cache. I did something similar recently in HIVE-8704 for the output side for PTOF-based outputformats. > HiveInputFormat caching cannot work with all input formats > ---------------------------------------------------------- > > Key: HIVE-8808 > URL: https://issues.apache.org/jira/browse/HIVE-8808 > Project: Hive > Issue Type: Bug > Reporter: Brock Noland > > In {{HiveInputFormat}} we implement instance caching (see > {{getInputFormatFromCache}}). In HS2, this assumes that InputFormats are > stateless but I don't think this assumption is true, especially with regards > to HBase. -- This message was sent by Atlassian JIRA (v6.3.4#6332)