Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
hbase 0.94.0 を使用しています。次の関数を使用しようとしています
public void move(byte[] encodedRegionName,byte[] destServerName)
関数をdestServerName使用して取得しました。getServerName
destServerName
getServerName
どうすれば を取得できますencodedRegionNameか? このための API はありますか?
encodedRegionName
ありがとう。
HBaseAdmin クラスの getOnlineRegions() または getTableRegions() メソッドは、getEncodedNameAsBytes() メソッドを持つ HRegionInfo のリストを提供できます。