Hi all,

Thank you for the respond on this issue. I was able to figure out the issue
as well. In the guide, it mentions to generate some traffic. I was using
the https store site of api manager to send api calls. But the calls were
sent as http. So they were blocked as I was using the https site. Was able
to figure that out using the browser console. Later I used the http store
site to send calls. Then everything worked fine after waiting for about 2
minutes.

Thank you,
Hemika

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +94777688882

On Fri, Oct 24, 2014 at 2:14 PM, Dunith Dhanushka <[email protected]> wrote:

> Hi,
>
> "WARN {org.apache.hadoop.mapred.JobClient} -  Use GenericOptionsParser
> for parsing the arguments. Applications should implement Tool for the same."
>
> Above warning is harmless and it can be ignored.
>
> This comes from the Hive client which has implemented the Tool interface
> to submit Hadoop jobs. Since Hive client doesn't use GenericOptionsParser
> to parse command line arguments, Hadoop throws a warning.
>
> Regards,
> Dunith
>
> On Fri, Oct 24, 2014 at 1:21 PM, Lakshman Udayakantha <[email protected]>
> wrote:
>
>> Hi Hemika,
>>
>> The reason for that null pointer error is relational database which used
>> in APIM ,is not populated from cassandra database in BAM. That will take at
>> least 2 minutes since the hive script that is used to  summarised the data
>> in cassandra database to APIM relational database, is running in 2 minutes
>> intervals. check that after 2 minutes. Another thing is actually I followed
>> [1] to integrate BAM with APIM. please let’s follow[1]. it will work. hope
>> things are clear.
>>
>> [1].
>> https://docs.wso2.com/display/AM170/Publishing+API+Runtime+Statistics
>>
>> Thanks
>>
>> On Fri, Oct 24, 2014 at 1:09 PM, Hemika Kodikara <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I am following the Quick Start Guide[1] of the WSO2 API Manager. In this
>>> I am working on the "configuring statistics" section. I have done all the
>>> configuration required. But the statistics are not getting shown in the API
>>> Publisher. Every time I request for statistics I get the following error in
>>> the API Manager console.
>>>
>>> "ERROR - usage:jag java.lang.NullPointerException: null"
>>>
>>> Also I am getting a warning from the BAM console as well. i.e
>>>
>>> "WARN {org.apache.hadoop.mapred.JobClient} -  Use GenericOptionsParser
>>> for parsing the arguments. Applications should implement Tool for the same."
>>>
>>> Note - I am running everything offline (Not connected to a network)
>>>
>>> Any help on this would be grateful.
>>>
>>> [1] - https://docs.wso2.com/display/AM170/Quick+Start+Guide
>>>
>>> Thanks.
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +94777688882
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lakshman Udayakantha
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>> Mobile: *0711241005*
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> Dunith Dhanushka,
> Senior Software Engineer - BAM,
> WSO2 Inc,
>
> Mobile - +94 71 8615744
> Blog - dunithd.wordpress.com <http://blog.dunith.com>
> Twitter - @dunithd <http://twitter.com/dunithd>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to