[ 
https://issues.apache.org/jira/browse/TRAFODION-2801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246597#comment-16246597
 ] 

Selvaganesan Govindarajan commented on TRAFODION-2801:
------------------------------------------------------

[~suresh_subbiah] analyzed the core file and found the following

The columnName we got from previous getColName method is junk, though length is 
correct (it is 4)
Debugging the Java side and see that for the specified offsets, value is junk 
on Java side too. Actual column name is present in Cell, but at a different 
offset.
>From what I can tell, the problem seems to be that we are using the offset 
>obtained from getFamilyOffset(), and using it to read bytes from the byte[] 
>getValueArray(). However the API suggests that getFamilyOffset() should be 
>used as an offset into getFamilyArray() and NOT into getValueArray(). The two 
>may coincide but it is not guaranteed.

> select count(*) with cqd hbase_coprocessors 'off' and cqd 
> traf_table_snapshot_scan 'latest' fail
> ------------------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-2801
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2801
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-exe
>    Affects Versions: any
>            Reporter: Selvaganesan Govindarajan
>            Assignee: Selvaganesan Govindarajan
>             Fix For: 2.3-incubating
>
>
> WHile using cqd hbase_coprocessors 'off' and cqd traf_table_snapshot_scan 
> 'latest',
> count( * ) of a table fail, error below,
> SQL>select count ( * ) from ry_hcyxx_32;
> *** ERROR[2034] $Z020RPF:33: Operating system error 201 while communicating 
> with server process $Z01198S:62. [2017-07-20 11:01:27]
> *** ERROR[2034] $Z020RPF:33: Operating system error 201 while communicating 
> with server process $Z01198S:62. [2017-07-20 11:01:27]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to