I don't think upgrading thrift is an option for us at this point. Still I'll give it a shot. Do you think a specific commit is related to this issue? If yes, could you share the jira/commit hash? Thanks.
On Tue, Jan 19, 2016 at 4:10 PM, Phillip Simbwa <sim...@gmail.com> wrote: > Can you try out 0.9.1 or above and see... > > > On 19 January 2016 at 13:04, Bharath Vissapragada <bhara...@cloudera.com> > wrote: > > > Hi, > > > > We use thrift extensively in the Impala project and recently we are > seeing > > this error occasionally (during load/race conditions in our code) . > > > > java.lang.ArrayIndexOutOfBoundsException: -1 > > at org.apache.thrift.ShortStack.pop(ShortStack.java:36) > > at > > > > > org.apache.thrift.protocol.TCompactProtocol.writeStructEnd(TCompactProtocol.java:220) > > at > > > > > com.cloudera.impala.thrift.TColumnType$TColumnTypeStandardScheme.write(TColumnType.java:394) > > at > > > > > com.cloudera.impala.thrift.TColumnType$TColumnTypeStandardScheme.write(TColumnType.java:335) > > at > > com.cloudera.impala.thrift.TColumnType.write(TColumnType.java:289) > > at > > > > > com.cloudera.impala.thrift.TFunction$TFunctionStandardScheme.write(TFunction.java:1256) > > at > > > > > com.cloudera.impala.thrift.TFunction$TFunctionStandardScheme.write(TFunction.java:1115) > > at com.cloudera.impala.thrift.TFunction.write(TFunction.java:964) > > > > Switching to TBinaryProtocol doesn't give any error. Any idea why this > > could be happening? I was wondering if its some bug in our codebase or if > > its some existing issue with thrift. Fwiw, we are on thrift 0.9.0 > > > > -- > > Bharath Vissapragada > > <http://www.cloudera.com> > > > > > > -- > - Phillip. > > “Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in > waht > oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist > and lsat ltteer are in the rghit pclae. > The rset can be a toatl mses and > you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed > ervey lteter by it slef but the wrod as a wlohe and the biran fguiers it > out aynawy." > -- Bharath Vissapragada <http://www.cloudera.com>