Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HBase Shell, get command is not retrieving any results for long columns. 5.0.2

HBase Shell, get command is not retrieving any results for long columns. 5.0.2

Explorer

 

get 'table','20140721:20140812104817:77435485-f9bd-42ac-a0ba-f102c16f5f23',{COLUMNS=>'j'}

 

I'm able to retrieve rows using get from shell for small columns. But get doesn't return any rows for long columns.This is working all fine in 4.2.1 version. 

 

Is there any buffer/memory setting required for shell. There is no error log ,it just comeout without rows.

 

 

Regards,

GR

1 REPLY 1

Re: HBase Shell, get command is not retrieving any results for long columns. 5.0.2

Explorer

Can any tell us how to fix the issue. We are migrating from 94 to 96 hbase .

 

Get command is working fine with 94 and the same is failing in 96 .

 

Here are the scenario.

 

When we retrieve with simple column name as below it returns the rows.

 

get 'pc','20140721:20140812104817:77435485-f9bd-42ac-a0ba-f102c16f5f23', {COLUMN => 'j:SOURCE'}

 

When we issue the below command in get it doesn't retrieve any rows . 

 

get 'pc','20140721:20140812104817:77435485-f9bd-42ac-a0ba-f102c16f5f23',{COLUMNS=>'j:STEP2:ABC|77435485-f9bd-42ac-a0ba-f102c16f5f23|2|Data Transformation'}      

 

After research we found out the second colon after STEP2 is causing the problem. When the column name is altered from         

 

 

STEP2:ABC|77435485-f9bd-42ac-a0ba-f102c16f5f23|2|Data Transformation to STEP2|ABC|77435485-f9bd-42ac-a0ba-f102c16f5f23|2|Data Transformation it worked.

 

Is it a bug or usual behaviour of 96. Please let us know in such case how we can go ahead with migration. Each column name will be renamed and application will not work.

 

Regards,

GR