Increase ObjectInspector[] length on demand
-------------------------------------------

                 Key: HIVE-1195
                 URL: https://issues.apache.org/jira/browse/HIVE-1195
             Project: Hadoop Hive
          Issue Type: Improvement
    Affects Versions: 0.5.0, 0.6.0
            Reporter: Zheng Shao
            Assignee: Zheng Shao


{code}
Operator.java
  protected transient ObjectInspector[] inputObjInspectors = new 
ObjectInspector[Short.MAX_VALUE];
{code}

An array of 32K elements takes 256KB memory under 64-bit Java.
We are seeing hive client going out of memory because of that.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to