Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

UI version info of RegionServer Error (hdp3.1)

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

The Error Info as follows:

The codes are as follows:

Hbase-server/src/main/java/org/apache/hadoop/hbase/client/VersionInfoUtil.java

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

Hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp

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

RegionServerListTmpl.jamon

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

3) {

MasterVersion = apacheVersions [0] + "." + apacheVersions [1] + "." + apacheVersions [2]

}

For (Address server: rsGroupServers) {

...

Replace hbase-server-2.0.2.3.1.0.0-78.jar, location

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

So, the ui:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report