HRegionInterface 在 Hbase1.1.1 中被移除,替代那个
HRegionInterface removed in Hbase1.1.1, replacement for that
我们正在从 Hbase 0.94 升级到 Hbase 1.1.1 版本。我们的应用程序代码使用 HRegionInterface API,现在它在 Hbase 1.1.1 中不可用。任何人都可以建议我替代 API 来访问 HRegionServers 吗?
这个接口刚被删除。
As a step to move internals to PB, so as to avoid the conversion for performance reason, we should remove the HRegionInterface.
Therefore region server only supports ClientProtocol and AdminProtocol. Later on, HRegion can work with PB messages directly.
这里有更多详细信息https://issues.apache.org/jira/browse/HBASE-5889
如果您使用其中的任何方法,您可以在此处post使用它们。有人将能够帮助您找到替代方案。
感谢@Avseiytsev Dmitriy 强调在 Hbase 中进行更改的原因。
我设法使用 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface 获取 table 的区域信息并存储 table 特定区域的文件列表。
我们正在从 Hbase 0.94 升级到 Hbase 1.1.1 版本。我们的应用程序代码使用 HRegionInterface API,现在它在 Hbase 1.1.1 中不可用。任何人都可以建议我替代 API 来访问 HRegionServers 吗?
这个接口刚被删除。
As a step to move internals to PB, so as to avoid the conversion for performance reason, we should remove the HRegionInterface. Therefore region server only supports ClientProtocol and AdminProtocol. Later on, HRegion can work with PB messages directly.
这里有更多详细信息https://issues.apache.org/jira/browse/HBASE-5889
如果您使用其中的任何方法,您可以在此处post使用它们。有人将能够帮助您找到替代方案。
感谢@Avseiytsev Dmitriy 强调在 Hbase 中进行更改的原因。
我设法使用 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface 获取 table 的区域信息并存储 table 特定区域的文件列表。