我们专注攀枝花网站设计 攀枝花网站制作 攀枝花网站建设
成都网站建设公司服务热线:400-028-6601

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

UIversioninfoofRegionServerError(hdp3.1)

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 )


分享名称:UIversioninfoofRegionServerError(hdp3.1)
文章出自:http://mswzjz.cn/article/gejpph.html

其他资讯