You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kumar Ravi (JIRA)" <ji...@apache.org> on 2012/11/12 21:17:12 UTC

[jira] [Created] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Kumar Ravi created HBASE-7150:
---------------------------------

             Summary: Utility class to determine File Descriptor counts depending on the JVM Vendor
                 Key: HBASE-7150
                 URL: https://issues.apache.org/jira/browse/HBASE-7150
             Project: HBase
          Issue Type: Improvement
          Components: build, util
    Affects Versions: 0.94.2, 0.94.1
         Environment: Non Sun JDK environments
            Reporter: Kumar Ravi
            Assignee: Kumar Ravi
             Fix For: 0.94.3, 0.96.0


This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.

The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Posted by "Kumar Ravi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kumar Ravi updated HBASE-7150:
------------------------------

    Attachment: HBASE-7150.patch

Trunk: hbase-common/src/main/java/org/apache/hadoop/hbase/util/JVM.java
                
> Utility class to determine File Descriptor counts depending on the JVM Vendor
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7150
>                 URL: https://issues.apache.org/jira/browse/HBASE-7150
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, util
>    Affects Versions: 0.94.1, 0.94.2
>         Environment: Non Sun JDK environments
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>             Fix For: 0.94.3, 0.96.0
>
>         Attachments: HBASE-7150.patch
>
>
> This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.
> The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-7150:
---------------------------------

    Fix Version/s:     (was: 0.94.3)
                   0.94.4

I'd like to do this in 0.94.4. If you need this earlier in 0.94.3, please let me know.
                
> Utility class to determine File Descriptor counts depending on the JVM Vendor
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7150
>                 URL: https://issues.apache.org/jira/browse/HBASE-7150
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, util
>    Affects Versions: 0.94.1, 0.94.2
>         Environment: Non Sun JDK environments
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: HBASE-7150.patch
>
>
> This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.
> The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Posted by "Kumar Ravi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495647#comment-13495647 ] 

Kumar Ravi commented on HBASE-7150:
-----------------------------------

Stack, I have attached the patch to this JIRA. As I mentioned in HBASE-6965, I tried but was unable to implement your recommendation of using ShellCommandExecutor as it's output is not being parsed by IBM JDK's Long class. 

Please review this patch and let me know your comments. Thanks!
                
> Utility class to determine File Descriptor counts depending on the JVM Vendor
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7150
>                 URL: https://issues.apache.org/jira/browse/HBASE-7150
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, util
>    Affects Versions: 0.94.1, 0.94.2
>         Environment: Non Sun JDK environments
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>             Fix For: 0.94.3, 0.96.0
>
>         Attachments: HBASE-7150.patch
>
>
> This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.
> The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495930#comment-13495930 ] 

stack commented on HBASE-7150:
------------------------------

[~kumarr] Thanks for opening this issue.  Thanks for looking at using hadoop shellcommandexecutor.  It looks like it won't work for you.  Would suggest that you include in your patch a note to this effect so that the next time someone is reading this code, you'll answer their question should they have the same thought I had.  I notice the patch includes a new class named JVM.java.  It does not include removal of the old class nor patch to hook up the code to use this new class rather than the one you'd have us remove (do 'svn rm' of the old class before making the patch).  Thanks.
                
> Utility class to determine File Descriptor counts depending on the JVM Vendor
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7150
>                 URL: https://issues.apache.org/jira/browse/HBASE-7150
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, util
>    Affects Versions: 0.94.1, 0.94.2
>         Environment: Non Sun JDK environments
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: HBASE-7150.patch
>
>
> This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.
> The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-7150:
----------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: HBASE-7149
    
> Utility class to determine File Descriptor counts depending on the JVM Vendor
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7150
>                 URL: https://issues.apache.org/jira/browse/HBASE-7150
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, util
>    Affects Versions: 0.94.1, 0.94.2
>         Environment: Non Sun JDK environments
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>             Fix For: 0.94.3, 0.96.0
>
>         Attachments: HBASE-7150.patch
>
>
> This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.
> The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Work started] (HBASE-7150) Utility class to determine File Descriptor counts depending on the JVM Vendor

Posted by "Kumar Ravi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HBASE-7150 started by Kumar Ravi.

> Utility class to determine File Descriptor counts depending on the JVM Vendor
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7150
>                 URL: https://issues.apache.org/jira/browse/HBASE-7150
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, util
>    Affects Versions: 0.94.1, 0.94.2
>         Environment: Non Sun JDK environments
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>             Fix For: 0.94.3, 0.96.0
>
>
> This issue is being opened to replace the OSMXBean class that was submitted in HBASE-6965. A new utility class called JVM is being opened to be used by ResourceChecker (0.94 branch) and ResourceCheckerJUnitListener test classes.
> The patch for the ResourceChecker classes is being addressed by HBASE-6945.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira