You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by Jaspaul Chahal <ja...@dataguise.com> on 2016/03/02 00:26:53 UTC

Build Issue and submit topology issue

Hi,


I tried to build the latest eagle code 0.3 from git. I was getting the following error while building:


> ApacheEagleWebApp@ grunt /root/incubator-eagle-master/eagle-webservice/src/main/webapp
> grunt
Running "jshint:all" (jshint) task
   app/public/feature/metrics/controller.js
    195 |        }
                  ^ Missing semicolon.
>> 1 error in 27 files
Warning: Task "jshint:all" failed. Use --force to continue.
Aborted due to warnings.
npm ERR! weird error 3
npm ERR! not ok code 0


After I added semicolon at line 195 (at end of function, just before 'function deleteGroup()'), this error was gone. Please make the change to git repo.



Secondly, getting an error when submit topology for HDFS audit log as following:


command :

bin/eagle-topology.sh --main eagle.security.auditlog.HdfsAuditLogProcessorMain --config conf/test-hdfsAuditLog-application.conf start

error:
Error: Could not find or load main class eagle.security.auditlog.HdfsAuditLogProcessorMain
Failure


Please guide on topology submission issue, what could be wrong.



Thanks and Regards,
Jaspaul Chahal

Re: Build Issue and submit topology issue

Posted by "Dendukuri, Hemanth" <hd...@ebay.com>.
Hi Jaspaul,  

Thanks for pointing out the issue. We will fix it soon. 


For your issue, please try using this class path org.apache.eagle.security.auditlog.HdfsAuditLogProcessorMain 

Regards
Hemanth





On 3/1/16, 3:26 PM, "Jaspaul Chahal" <ja...@dataguise.com> wrote:

>Hi,
>
>
>I tried to build the latest eagle code 0.3 from git. I was getting the following error while building:

>
>
>> ApacheEagleWebApp@ grunt /root/incubator-eagle-master/eagle-webservice/src/main/webapp
>> grunt
>Running "jshint:all" (jshint) task
>   app/public/feature/metrics/controller.js
>    195 |        }
>                  ^ Missing semicolon.
>>> 1 error in 27 files
>Warning: Task "jshint:all" failed. Use --force to continue.
>Aborted due to warnings.
>npm ERR! weird error 3
>npm ERR! not ok code 0
>
>
>After I added semicolon at line 195 (at end of function, just before 'function deleteGroup()'), this error was gone. Please make the change to git repo.
>
>
>
>Secondly, getting an error when submit topology for HDFS audit log as following:
>
>
>command :
>
>bin/eagle-topology.sh --main eagle.security.auditlog.HdfsAuditLogProcessorMain --config conf/test-hdfsAuditLog-application.conf start
>
>error:
>Error: Could not find or load main class eagle.security.auditlog.HdfsAuditLogProcessorMain
>Failure
>
>
>Please guide on topology submission issue, what could be wrong.
>
>
>
>Thanks and Regards,
>Jaspaul Chahal