UI version info of RegionServer Error(hdp3.1 )

发布时间:2020-07-27 18:53:16 作者:Lynn_Yuan
来源:网络 阅读:425

The Error Info as follows:
UI version info of RegionServer Error(hdp3.1 )
The codes are as follows:

  1. hbase-server/src/main/java/org/apache/hadoop/hbase/client/VersionInfoUtil.java
    UI version info of RegionServer Error(hdp3.1 )

  2. hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon

UI version info of RegionServer Error(hdp3.1 )

  1. hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
    UI version info of RegionServer Error(hdp3.1 )

I just modify the value of "if statement" left side as follows:

RegionServerListTmpl.jamon

<%java>

int totalRegions = 0;

int totalRequestsPerSecond = 0;

int inconsistentNodeNum = 0;

String masterVersion = VersionInfo.getVersion();

String[] apacheVersions = masterVersion.split("[\.-]");

if(apacheVersions.length > 3){

masterVersion = apacheVersions[0]+"."+apacheVersions[1]+"."+apacheVersions[2];

}

for (ServerName serverName: serverNames) {

...

rsgroup.jsp

<% int totalRegions = 0;

int totalRequests = 0;

int inconsistentNodeNum = 0;

String masterVersion = VersionInfo.getVersion();

String[] apacheVersions = masterVersion.split("[\.-]");

if(apacheVersions.length > 3){

masterVersion = apacheVersions[0]+"."+apacheVersions[1]+"."+apacheVersions[2];

}

for (Address server: rsGroupServers) {

...

替换hbase-server-2.0.2.3.1.0.0-78.jar, 位置

/usr/hdp/3.1.0.0-78/hbase/lib/hbase-server-2.0.2.3.1.0.0-78.jar

so, the ui:
UI version info of RegionServer Error(hdp3.1 )

推荐阅读:
  1. 关于对SD卡出现故障以及数据丢失恢复的介绍
  2. win10哪个版本最强悍?绝对是win10专业工作站版本。

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

hbase ui region server version info

上一篇:Android Studio中Run按钮app的module显示红叉

下一篇:HTML5的localStorage缓存详解

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》