Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Question about perfsonar maddash-webUI configuration

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Question about perfsonar maddash-webUI configuration


Chronological Thread 
  • From: Andrew Lake <>
  • To: Jianan Wang <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Question about perfsonar maddash-webUI configuration
  • Date: Tue, 1 Apr 2014 15:33:13 -0400

Hi,

At lines 329 and 330 make IntraPacketLatency and IntraPacketLatencyRev just
PacketLatency and PacketLatencyRev respectively. That should be the only
change you need after that. I have updated the code in the maddash trunk to
print a better error message in this case since a NullPointerException isn't
very helpful. This change will be included next time we cut an RPM. Thanks
for reporting it.

Andy



On Apr 1, 2014, at 2:44 PM, Andrew Lake
<>
wrote:

> Hi,
>
> Can you send your maddash.yaml file? Likely some required field is missing.
>
>
> Thanks,
> Andy
>
>
>
> On Apr 1, 2014, at 2:04 PM, Jianan Wang
> <>
> wrote:
>
>> Hi everyone,
>>
>> I have a question about maddash-webUI configuration. After I finished the
>> scripts of maddash.yaml and config.json and ran the service, maddash
>> stopped working and have the following output from the log file:
>>
>> /var/log/maddash/maddash-server.netlogger.log:
>> level=INFO ts=2014-04-01T05:59:20.139708Z event=maddash.init.start
>> guid=0cbb946e-4bb1-47b9-9fa1-71482afaaa73
>> level=ERROR ts=2014-04-01T05:59:22.725039Z event=maddash.init.end
>> guid=0cbb946e-4bb1-47b9-9fa1-71482afaaa73 status=-1
>>
>>
>> /var/log/maddash/maddash-server.out:
>> Initialization error: null
>> java.lang.NullPointerException
>> at net.es.maddash.ConfigLoader.load(ConfigLoader.java:296)
>> at net.es.maddash.MaDDashGlobals.<init>(MaDDashGlobals.java:230)
>> at net.es.maddash.MaDDashGlobals.getInstance(MaDDashGlobals.java:462)
>> at net.es.maddash.Invoker.main(Invoker.java:55)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
>> .java:57)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
>> ssorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:622)
>> at com.simontuffs.onejar.Boot.run(Boot.java:306)
>> at com.simontuffs.onejar.Boot.main(Boot.java:159)
>>
>>
>> It seems the problem is in the MaDDashGlobals initialization and
>> getInstance() in the Invoker.java, but I'm not sure how to solve it.
>>
>> ....
>> try {
>> netlogger.info(netLog.start("maddash.init"));
>> MaDDashGlobals.init(configFile);
>> globals = MaDDashGlobals.getInstance();
>> netlogger.info(netLog.end("maddash.init"));
>>
>> ...
>>
>> Any suggestion is appreciated!
>>
>> Thanks.
>>
>> --
>> Jianan Wang
>> Department of Electrical and Computer Engineering, Duke University
>> Department of Optical Engineering, ZJU Information Engineering
>> Qizhen Leadership School, ZJU
>> Tel:(1) 919-937-4582
>> Email:
>>
>>
>




Archive powered by MHonArc 2.6.16.

Top of Page