[EAGLE-888] Application submitted to Storm is always shown as “HBaseAuditLogApp”#796
[EAGLE-888] Application submitted to Storm is always shown as “HBaseAuditLogApp”#796DadanielZ wants to merge 1 commit intoapache:masterfrom
Conversation
…itLogApp” Reordered the "withFallBack" function to get user's topology configuration
|
@wujinhu please help review the PR about app/server config changes |
|
@DadanielZ Do you find this problem in your dev env? |
|
@wujinhu yes, I find this when I start eagle from Intellij on mac. |
|
@DadanielZ |
|
@wujinhu here is what I observed:
By the way, could you explain a little bit on "There are a lot of application.conf files in eagle. I think this is the root cause"? Thanks and regards, |
|
IMO, "server config" has "siteId = testSite", "appId = HBaseAuditLog" may be wrong. It should not contains these. I mean wrong application.conf has been loaded probably. |
|
@wujinhu I see, so this only happens in dev env. Since "Typesafe Config" is loading all "applicaiton.conf" in the classPath, parameters like "siteId", "appId",etc are preloaded in "server config". Is there a good way to solve this issue? Or I have to update all "application.conf" files in the maven project manually? |
|
@DadanielZ I think you can add application-debug.conf to eagle-server/src/test/resources/ if you run Class ServerDebug. Pls have a try. Thanks. |
|
@wujinhu thanks 👍 , this issue is solved. But I come up with another one when tring to view the alerts from UI: After configuring the "application-debug.conf" properly with "jdbc" as the storage type, I started eagle from Intellij successfully and started alert-engine and hdfsAuditLogApp smoothly, then I created a hdfs policy. I saw alerts are generated and saved in my mysql database. But when I tried to view the alerts from UI, ERROR occurs: During debugging I see Thanks and regards, Here is the configuration file I used: |
|
Hi @DadanielZ, We have not added this module into Eagle server. So the service loader cannot detect it. |
|
@qingwen220 Got it.. When will we add this module and what is the target release date for Eagle 0.5? |
|
@DadanielZ Could you help to fix it? I have a ticket here |
|
@qingwen220 sure, will do it. |
|
@DadanielZ is this PR still valid? |
|
Issues resolved, hence closing it. |
Reordered the "withFallBack" function to get user's topology configuration