cxzl25 commented on pull request #979:
URL: https://github.com/apache/orc/pull/979#issuecomment-1001865038


   We used Spark 3.2.0, Hive2.3.9, Orc 1.6.11,
   Set `spark.sql.hive.convertMetastoreOrc=false` in spark, and querying a 
table triggers this problem for the second time.
   
   The current workaround is to add configuration in `hive-site.xml`
   ```xml
     <property>
       <name>hive.orc.cache.stripe.details.mem.size</name>
       <value>0</value>
     </property>
   ```
   
   ```java
       
HIVE_ORC_CACHE_STRIPE_DETAILS_MEMORY_SIZE("hive.orc.cache.stripe.details.mem.size",
 "256Mb",
           new SizeValidator(), "Maximum size of orc splits cached in the 
client."),
   ```


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@orc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to