Hi Keren,
Tuple data is moved to and from Hyracks operators using the IFrameWriter
interface. However, all data is moved as bytes placed in ByteBuffer
objects. Tuples are not kept as Java objects that you can "watch" in a
debugger. The bytes placed in the byte buffer are in a binary format
that are not readable in the Java debugger.
One way to look at the tuples flowing in the frames is to have a
FrameTupleAccessor instance that holds the ByteBuffer pretty print the
frame. Look inside the code of the operators and you should find an
instance of a FrameTupleAccessor object that is used to read tuple data
from the ByteBuffer objects. You can just call prettyPrint on one of
those instances to see a human-readable representation of tuple-data.
The .waf files in /tmp/kereno are temporary files that are created by
spilling operators such as the Sort operator and the Join operators to
hold run-file data. Those are also in binary format that may not make a
whole lot of sense when looked at in a text editor.
Vinayak
On 11/14/12 6:45 AM, Keren-Audrey Ouaknine wrote:
> Hello,
>
> I would like to ask you about the records format in Hivesterix.
>
> In particular, in which function can I watch data records during runtime?
> I put a breakpoint in *nextFrame() *function of the class IFrameWriter as
> well as on inputs of the write operator:
> *ILogicalOperator src = writeResultOp.getInputs().get(0).getValue();*