hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Grandl <>
Subject Re: Print actual key / value details in Hive
Date Wed, 07 Dec 2016 02:36:59 GMT
Can someone give me any advice on this? I have a hard time understanding how to properly get
it. I observe that in, keys and values are available as HiveKey and
BytesWritable, but I don't know how to extract the actual content. For key, I can use a StructObjectInspector
and iterate over every getStructFieldsDataAsList(obj) element. Is this the right way to do
it? However, for the value I have no clue how to get it. 


    On Monday, December 5, 2016 11:07 AM, Robert Grandl <> wrote:

 Hi guys,
I am trying to trace the key / value details processed by each Operator or at least each stage
in Hive. 

However, I have a hard time to do that, as key / values are serialized. 

Is there any way I can see the original key / value details?
Thanks in advance,Robert

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message