Ok, I will create pull request asap.

Regards,
Da

-----Original Message-----
From: Zhang, Edward (GDI Hadoop) [mailto:[email protected]] 
Sent: Wednesday, April 13, 2016 2:43 PM
To: [email protected]
Subject: Re: Restful API changed?

Right Daniel, we have made many changes recently in master which is for Eagle 
0.4, it may not be stable, but we are also creating documents for that.

Because you are doing MapR integration, I would suggest you merge that into 
master as soon as possible to avoid much conflict in the future as long as your 
feature is not enabled or not blocking existing features.

Thanks
Edward

On 4/13/16, 14:39, "Daniel Zhou" <[email protected]> wrote:

>Just found out that :
>1.  The column name in table "alertdef_alertdef" has changed.
>"dataSource" has been replaced by "application".
>2.  "/list" has been deprecated, instead we should use "entities"
>
>So the right URL example should be:
>http://hostname:port/eagle-service/rest/entities?query=AlertDefinitionS
>erv ice[@application="hdfsAuditLog" and 
>@site="sandbox"]{*}&pageSize=100
>
>Thanks and regards,
>Da
>
>
>
>
>
>-----Original Message-----
>From: Daniel Zhou [mailto:[email protected]]
>Sent: Wednesday, April 13, 2016 11:05 AM
>To: [email protected]
>Subject: Restful API changed?
>
>Hi,
>
>I'm using master branch and it seems that the Rest api provided on the 
>Eagle Website doesn't work. I got an exception after a GET request.
>
>Query:
>http://192.168.6.148:9099/eagle-service/rest/list?query=AlertDefinition
>Ser vice[@dataSource="hdfsAuditLog" and 
>@site="sandbox"]{*}&pageSize=100
>
>Response:
>"java.io.IOException:
>java.lang.NullPointerException\norg.apache.eagle.log.entity.AbstractHBa
>seL ogReader.open(AbstractHBaseLogReader.java:140"
>
>Thanks and regards,
>Da
>

Reply via email to