从 hbase 存储和读取图像
Storing and reading images from hbase
我想在我的 hbase 中存储图像 table.And 我想从 hbase table 中读取图像文件 image.Is 可以在 hbase 中完成。
图片大小不得超过 10MB.For 每行应该有一张图片与 it.Wondering 如何做 it.Need 一些线索很热以继续。
是的,可以将图像存储在 HBase 中并直接从 HBase 读取图像table。
将图像的 byte[] 存储在一列中。您将能够检索图像。此外,您可以使用 http://hbase.apache.org/book.html#_rest 来检索图像。只需使用此请求 header: "
Accept: application/octet-stream
"
我们在 Truecar.com are using HBase to store millions of Images. Recently, we presented our use case at Hadoop Summit 2015。很快,我们将在博文中分享幻灯片和更多详细信息。
另请查看用于存储图像的增强 HBase jira:https://issues.apache.org/jira/browse/HBASE-11339
这是一个用于存储图像的旧演示 yfrom.com:http://www.slideshare.net/jacque74/hug-hbase-presentation
我想在我的 hbase 中存储图像 table.And 我想从 hbase table 中读取图像文件 image.Is 可以在 hbase 中完成。
图片大小不得超过 10MB.For 每行应该有一张图片与 it.Wondering 如何做 it.Need 一些线索很热以继续。
是的,可以将图像存储在 HBase 中并直接从 HBase 读取图像table。
将图像的 byte[] 存储在一列中。您将能够检索图像。此外,您可以使用 http://hbase.apache.org/book.html#_rest 来检索图像。只需使用此请求 header: "
Accept: application/octet-stream
"
我们在 Truecar.com are using HBase to store millions of Images. Recently, we presented our use case at Hadoop Summit 2015。很快,我们将在博文中分享幻灯片和更多详细信息。
另请查看用于存储图像的增强 HBase jira:https://issues.apache.org/jira/browse/HBASE-11339
这是一个用于存储图像的旧演示 yfrom.com:http://www.slideshare.net/jacque74/hug-hbase-presentation