Skip to main content

UDX message header check failed

  • November 6, 2018
  • 2 replies
  • 10 views

phil2
Forum|alt.badge.img+2
  • Participating Frequently

Hello

Recently I wrote UDF and everything was fine untill now.
From time to time I'm getting error messages like:

SQL Error [8092] [VP001]: [Vertica]VJDBC ERROR: Failure in UDx RPC call InvokeProcessPartition() in User Defined Object [DistinctHashCounter]: Message header check failed
[Vertica]VJDBC ERROR: Failure in UDx RPC call InvokeProcessPartition() in User Defined Object [DistinctHashCounter]: Message header check failed
[Vertica]VJDBC ERROR: Failure in UDx RPC call InvokeProcessPartition() in User Defined Object [DistinctHashCounter]: Message header check failed

UDxLogs/UDxFencedProcesses.log:

12:30:38.905 [C++-v_dwh_node0010-23011:0x233c9f-12412] 0x7fda53fff700 Received SIGPIPE, ignoring
12:30:38.905 [C++-v_dwh_node0010-23011:0x233c9f-12412] 0x7fda53fff700 Received SIGPIPE, ignoring
12:30:38.905 [C++-v_dwh_node0010-23011:0x233c9f-12412] 0x7fda53fff700 Error in send(): Broken pipe

How can I fix this and where should I start?

2 replies

phil2
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • November 7, 2018

Is there any debug options or profiling tool for such cases? I mean error message tells me like nothing about what went wrong. Does anybody faced this error or how can I debug UDF?


phil2
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • December 19, 2018

UPD: I managed to fixed it by extending varchar size for output column.
I was using copy like this

outputWriter.getStringRef(j).copy(inputReader.getStringRef(j));

and output column size was set to constant

Hope it can be helpful for someone else