简体   繁体   English

使用HbaseStorage函数存储后,无法通过Pig在hbase中获取更新的数据?

[英]Unable to fetch the updated Data in hbase through pig after storing using HbaseStorage function?

I am new to pig Scripting . 我是猪脚本的新手。 I am unable to fetch the data which i have stored through pig script into hbase using HbaseStorage(). 我无法使用HbaseStorage()将通过Pig脚本存储的数据提取到hbase中。 But when i am trying to fetch the data using phoenix i am able to see the data . 但是,当我尝试使用phoenix获取数据时,我可以看到数据。

Can anyone help me out ? 谁能帮我吗 ?

The problem Solved guyz . 问题解决了盖兹。 As the timeStamp always changes for a column in Hbase. 由于timeStamp对于Hbase中的列始终会更改。 When i use the Stored Time correctly over there for searching . 当我在那正确使用存储时间进行搜索时。 I was able to fetch the records . 我能够取得记录。

Previously i was using intial row creation timeStamp for searching. 以前,我使用初始行创建timeStamp进行搜索。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM