Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1168

OSX vm_stat output has changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: BIGDATA_RELEASE_1_5_0
    • Fix Version/s: None
    • Component/s: Other

      Description

      The VMStatCollector for OSX is expecting a different page format. It needs to be made more robust. The pageins field used to be 9 but there are now many more fields for Yosemite (but not IO Wait unfortunately). We should just figure out which field it is at runtime and then use that field. Add new test with both the old and the new vm_stat output samples.

      ERROR: 705      com.bigdata.counters.ActiveProcess.readService1 com.bigdata.counters.ProcessReaderHelper.run(ProcessReaderHelper.java:146): Counter collection halted: Expecting 'pageins', found: 'free'
      java.lang.RuntimeException: Expecting 'pageins', found: 'free'
      	at com.bigdata.counters.osx.VMStatCollector.assertField(VMStatCollector.java:472)
      	at com.bigdata.counters.osx.VMStatCollector.access$3(VMStatCollector.java:468)
      	at com.bigdata.counters.osx.VMStatCollector$VMStatReader.readProcess(VMStatCollector.java:329)
      	at com.bigdata.counters.ProcessReaderHelper.run(ProcessReaderHelper.java:125)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: