You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sami Siren (Created) (JIRA)" <ji...@apache.org> on 2012/02/20 22:15:34 UTC

[jira] [Created] (SOLR-3148) SystemInfoHandler does not expose all available info

SystemInfoHandler does not expose all available info
----------------------------------------------------

                 Key: SOLR-3148
                 URL: https://issues.apache.org/jira/browse/SOLR-3148
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Sami Siren
            Priority: Minor


The following info is not returned even when they are available (on java 1.6 and 1.7): 

{code}
getSystemLoadAverage()
getOpenFileDescriptorCount()
getMaxFileDescriptorCount()
getCommittedVirtualMemorySize()
getTotalPhysicalMemorySize()
getTotalSwapSpaceSize()
getProcessCpuTime()
{code}

This is happening because the following exception is thrown: 

{code}
java.lang.IllegalAccessException: Class org.apache.solr.handler.admin.SystemInfoHandler can not access a member of class com.sun.management.UnixOperatingSystem with modifiers "public native"
{code}

It seems to be enough to call setAccessible(true) on the method to get rid of that exception.

Additionally I see a strange value for the ulimit key:

"ulimit":"(error executing: ulimit -n)",

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3148) SystemInfoHandler does not expose all available info

Posted by "Sami Siren (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated SOLR-3148:
-----------------------------

    Affects Version/s: 3.6
    
> SystemInfoHandler does not expose all available info
> ----------------------------------------------------
>
>                 Key: SOLR-3148
>                 URL: https://issues.apache.org/jira/browse/SOLR-3148
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.6, 4.0
>            Reporter: Sami Siren
>            Assignee: Sami Siren
>            Priority: Minor
>             Fix For: 3.6, 4.0
>
>
> The following info is not returned even when they are available (on java 1.6 and 1.7): 
> {code}
> getSystemLoadAverage()
> getOpenFileDescriptorCount()
> getMaxFileDescriptorCount()
> getCommittedVirtualMemorySize()
> getTotalPhysicalMemorySize()
> getTotalSwapSpaceSize()
> getProcessCpuTime()
> {code}
> This is happening because the following exception is thrown: 
> {code}
> java.lang.IllegalAccessException: Class org.apache.solr.handler.admin.SystemInfoHandler can not access a member of class com.sun.management.UnixOperatingSystem with modifiers "public native"
> {code}
> It seems to be enough to call setAccessible(true) on the method to get rid of that exception.
> Additionally I see a strange value for the ulimit key:
> "ulimit":"(error executing: ulimit -n)",

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3148) SystemInfoHandler does not expose all available info

Posted by "Sami Siren (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren resolved SOLR-3148.
------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Sami Siren

This seems to work ok now. I did not change the ulimit part.
                
> SystemInfoHandler does not expose all available info
> ----------------------------------------------------
>
>                 Key: SOLR-3148
>                 URL: https://issues.apache.org/jira/browse/SOLR-3148
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Assignee: Sami Siren
>            Priority: Minor
>             Fix For: 4.0
>
>
> The following info is not returned even when they are available (on java 1.6 and 1.7): 
> {code}
> getSystemLoadAverage()
> getOpenFileDescriptorCount()
> getMaxFileDescriptorCount()
> getCommittedVirtualMemorySize()
> getTotalPhysicalMemorySize()
> getTotalSwapSpaceSize()
> getProcessCpuTime()
> {code}
> This is happening because the following exception is thrown: 
> {code}
> java.lang.IllegalAccessException: Class org.apache.solr.handler.admin.SystemInfoHandler can not access a member of class com.sun.management.UnixOperatingSystem with modifiers "public native"
> {code}
> It seems to be enough to call setAccessible(true) on the method to get rid of that exception.
> Additionally I see a strange value for the ulimit key:
> "ulimit":"(error executing: ulimit -n)",

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3148) SystemInfoHandler does not expose all available info

Posted by "Sami Siren (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated SOLR-3148:
-----------------------------

    Fix Version/s: 3.6
    
> SystemInfoHandler does not expose all available info
> ----------------------------------------------------
>
>                 Key: SOLR-3148
>                 URL: https://issues.apache.org/jira/browse/SOLR-3148
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.6, 4.0
>            Reporter: Sami Siren
>            Assignee: Sami Siren
>            Priority: Minor
>             Fix For: 3.6, 4.0
>
>
> The following info is not returned even when they are available (on java 1.6 and 1.7): 
> {code}
> getSystemLoadAverage()
> getOpenFileDescriptorCount()
> getMaxFileDescriptorCount()
> getCommittedVirtualMemorySize()
> getTotalPhysicalMemorySize()
> getTotalSwapSpaceSize()
> getProcessCpuTime()
> {code}
> This is happening because the following exception is thrown: 
> {code}
> java.lang.IllegalAccessException: Class org.apache.solr.handler.admin.SystemInfoHandler can not access a member of class com.sun.management.UnixOperatingSystem with modifiers "public native"
> {code}
> It seems to be enough to call setAccessible(true) on the method to get rid of that exception.
> Additionally I see a strange value for the ulimit key:
> "ulimit":"(error executing: ulimit -n)",

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org