[jira] [Created] (HBASE-18701) Optimize reference guide to use cell acl conveniently
Shibin Zhang created HBASE-18701: Summary: Optimize reference guide to use cell acl conveniently Key: HBASE-18701 URL: https://issues.apache.org/jira/browse/HBASE-18701 Project: HBase Issue Type: Improvement Reporter: Shibin Zhang Priority: Trivial When i use cell acl,i found it didn't work ,and without related settings explain in hbase reference guide. After i read the code , i found we need to change two option value in hbase-site.xml.It is user unfriendly to use cell acl function.So, i think we need to explain how to enable this function in reference guide. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (HBASE-18568) Correct Regions metric of numRegions
Shibin Zhang created HBASE-18568: Summary: Correct Regions metric of numRegions Key: HBASE-18568 URL: https://issues.apache.org/jira/browse/HBASE-18568 Project: HBase Issue Type: Bug Components: metrics Affects Versions: 3.0.0 Reporter: Shibin Zhang Assignee: Shibin Zhang Priority: Critical i found the value of metric numReigons in Regions is not correct. the metric can not add or remove region correctly as region close or open. the metric as follow: "name" : "Hadoop:service=HBase,name=RegionServer,sub=Regions", "numRegions" : 2, after trouble shooting ,i found the reason is in MetricsRegionSourceImpl#MetricsRegionSourceImpl {code:java} agg.register(this); ... hashCode = regionWrapper.getRegionHashCode(); {code} when add the MetricsRegionSource to set ,but the hashCode has not yet initialized. So, the setFromMap can put or remove the object correctly. it will be better to move {code:java} hashCode = regionWrapper.getRegionHashCode(); {code} above {code:java} agg.register(this); {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (HBASE-18469) Correct RegionServer metric of totalRequestCount
Shibin Zhang created HBASE-18469: Summary: Correct RegionServer metric of totalRequestCount Key: HBASE-18469 URL: https://issues.apache.org/jira/browse/HBASE-18469 Project: HBase Issue Type: Bug Affects Versions: 1.2.0 Reporter: Shibin Zhang Priority: Minor when i get the metric ,i found this three metric may be have some error as follow : "totalRequestCount" : 17541, "readRequestCount" : 17483, "writeRequestCount" : 1633, -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (HBASE-18323) Remove multiple ACLs for the same user in kerberos
Shibin Zhang created HBASE-18323: Summary: Remove multiple ACLs for the same user in kerberos Key: HBASE-18323 URL: https://issues.apache.org/jira/browse/HBASE-18323 Project: HBase Issue Type: Bug Affects Versions: 3.0.0 Reporter: Shibin Zhang Priority: Critical When deploy hbase in kerberos way ,there will be multiple acls in znode : 'world,'anyone : r 'sasl,'hbase : cdrwa 'sasl,'hbase : cdrwa I also see the related issue and apply the patch, like https://issues.apache.org/jira/browse/HBASE-17717 but in my environment ,this situation still appear, After dig into the code , i found the reason in source code ZKUtil.createAcl is if (zkw.isClientReadable(node)) { LOG.error("isSecureZooKeeper user: clientReadable"); acls.addAll(Ids.CREATOR_ALL_ACL); acls.addAll(Ids.READ_ACL_UNSAFE); } else { LOG.error("isSecureZooKeeper user: clientReadable no"); acls.addAll(Ids.CREATOR_ALL_ACL); } acls.addAll(Ids.CREATOR_ALL_ACL); Id AUTH_IDS = new Id("auth", ""); ArrayList CREATOR_ALL_ACL = new ArrayList(Collections.singletonList(new ACL(31, AUTH_IDS))); AUTH_IDS with "auth " will result current connection auth user add to znode acl , so it will appear multiple acls for same users. I think this line of code we can remove : acls.addAll(Ids.CREATOR_ALL_ACL); -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (HBASE-18265) Correct the link unuseful in regionServer's region state UI
Shibin Zhang created HBASE-18265: Summary: Correct the link unuseful in regionServer's region state UI Key: HBASE-18265 URL: https://issues.apache.org/jira/browse/HBASE-18265 Project: HBase Issue Type: Bug Components: UI Affects Versions: 3.0.0 Reporter: Shibin Zhang Priority: Trivial when i watch for region state ,i found this link maybe update in regionserver's region state UI IP:60030/rs-status is in RegionListTmpl.jamon See http://hbase.org;>HBase Home for further explication. http://hbase.org is unuseful , should update to http://hbase.apache.org -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (HBASE-18263) Resolve NPE in backup Master UI when access to procedures.jsp
Shibin Zhang created HBASE-18263: Summary: Resolve NPE in backup Master UI when access to procedures.jsp Key: HBASE-18263 URL: https://issues.apache.org/jira/browse/HBASE-18263 Project: HBase Issue Type: Bug Components: UI Affects Versions: 2.0.0-alpha-1, 1.2.0 Reporter: Shibin Zhang Priority: Trivial When accessing procedures.jsp ,the NPE comes in backup master UI: HTTP ERROR 500 Problem accessing /procedures.jsp. Reason: INTERNAL_SERVER_ERROR Caused by: java.lang.NullPointerException at org.apache.hadoop.hbase.generated.master.procedures_jsp._jspService(procedures_jsp.java:67) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221) at org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter.doFilter(StaticUserWebFilter.java:113) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.hadoop.hbase.http.ClickjackingPreventionFilter.doFilter(ClickjackingPreventionFilter.java:48) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:1354) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.hadoop.hbase.http.NoCacheFilter.doFilter(NoCacheFilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.apache.hadoop.hbase.http.NoCacheFilter.doFilter(NoCacheFilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) In server ,only the active master initialize procedureStore in HMaster. so ,i think it will be better to remove procedures.jsp link in backup Master UI -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (HBASE-17982) Is the word "occured" should be "occurred ?
Shibin Zhang created HBASE-17982: Summary: Is the word "occured" should be "occurred ? Key: HBASE-17982 URL: https://issues.apache.org/jira/browse/HBASE-17982 Project: HBase Issue Type: Bug Reporter: Shibin Zhang Priority: Trivial I have find some spelling may have a problem -- This message was sent by Atlassian JIRA (v6.3.15#6346)