[ 
https://issues.apache.org/jira/browse/HBASE-20490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16452950#comment-16452950
 ] 

Sean Busbey commented on HBASE-20490:
-------------------------------------

{code}
+
+  public static void main(String [] args) {
+    System.out.println("Available=" + UnsafeAvailChecker.isAvailable() + ", " +
+        "Unaligned=" + UnsafeAvailChecker.unaligned());
+  }
 }
{code}

Refer folks to the ref guide here for an explanation of what these values mean.

> Add main to UnsafeAvailChecker so can test for Unsafe
> -----------------------------------------------------
>
>                 Key: HBASE-20490
>                 URL: https://issues.apache.org/jira/browse/HBASE-20490
>             Project: HBase
>          Issue Type: Bug
>          Components: Operability
>            Reporter: stack
>            Priority: Major
>         Attachments: HBASE-20490.branch-2.0.001.patch
>
>
> Was wondering if we were doing unsafe. We have tooling to check for presence 
> but would be useful if could run check from command-line AND if we logged 
> when NOT present....  If not present, perf will be poor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to