本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKAssign.getDataNoWatch()
方法的一些代码示例,展示了ZKAssign.getDataNoWatch()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKAssign.getDataNoWatch()
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.zookeeper.ZKAssign
类名称:ZKAssign
方法名:getDataNoWatch
[英]Gets the current data in the unassigned node for the specified region name or fully-qualified path.
Returns null if the region does not currently have a node.
Does not set a watch.
[中]获取指定区域名称或完全限定路径的未分配节点中的当前数据。
如果区域当前没有节点,则返回null。
不定表。
代码示例来源:origin: co.cask.hbase/hbase
String node = ZKAssign.getNodeName(watcher, regionInfo.getEncodedName());
Stat stat = new Stat();
RegionTransitionData dataInZNode = ZKAssign.getDataNoWatch(watcher, node,
stat);
if (dataInZNode == null) {
代码示例来源:origin: harbby/presto-connectors
byte[] data = ZKAssign.getDataNoWatch(watcher, node, stat);
if (data == null) {
throw new IOException("Data is null, splitting node " + node + " no longer exists");
代码示例来源:origin: harbby/presto-connectors
byte[] data = ZKAssign.getDataNoWatch(watcher, node, stat);
if (data == null) {
throw new IOException("Data is null, merging node " + node + " no longer exists");
代码示例来源:origin: co.cask.hbase/hbase
RegionTransitionData curDataInZNode = ZKAssign.getDataNoWatch(zkw, region
.getEncodedName(), stat);
内容来源于网络,如有侵权,请联系作者删除!