I just fixed this bug, and we can update the configurations on EAGLE UI directly.
This configuration refactor only impacts classification pages, which requires a prefix “web” in front of the properties. For other configurations, it remains the same. I will update the doc later. Best Regards, Qingwen Zhao | 赵晴雯 2016-04-08 11:48 GMT+08:00 Chen, Hao <hao.ch...@ebay.com>: > The bug should be fixed by this PR: > https://github.com/apache/incubator-eagle/pull/138 > > From: Edward Zhang <yonzhang2...@gmail.com<mailto:yonzhang2...@gmail.com>> > Date: Friday, April 8, 2016 at 11:46 AM > To: "Carnali, Matthew R." <matthew.carn...@capitalone.com<mailto: > matthew.carn...@capitalone.com>> > Cc: Qingwen Zhao <qingwz...@ebay.com<mailto:qingwz...@ebay.com>>, "Chen, > Hao" <hao.ch...@ebay.com<mailto:hao.ch...@ebay.com>>, "Su, Liangfei" < > li...@ebay.com<mailto:li...@ebay.com>> > Subject: Re: Fail to get WEB_CONFIG configurations for data classification > > No problem Matt. Please let us know any issues you have run into while you > are testing. > > + more Eagle committers to help. > > Thanks > Edward > > On Thu, Apr 7, 2016 at 5:21 PM, Carnali, Matthew R. < > matthew.carn...@capitalone.com<mailto:matthew.carn...@capitalone.com>> > wrote: > Great thanks will run those first thing tomorrow morning > > Sent from my iPhone > > On Apr 7, 2016, at 5:12 PM, Edward Zhang <yonzhang2...@gmail.com<mailto: > yonzhang2...@gmail.com>> wrote: > > Hi Matt, > > This is the bug we have introduced in the latest master branch. With this > bug, we can't use the UI to update site configuration. Could you please try > the following one of workarounds. > Workaround 1: run bin/eagle-topology-init.sh > Wordaround 2: directly run the following 3 curl scripts to populate site > configurations > > echo "Importing applications for sample site ..." > curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H > 'Content-Type:application/json' > "http://${EAGLE_SERVICE_HOST}:${EAGLE_SERVICE_PORT}/eagle-service/rest/entities?serviceName=SiteApplicationService" > -d '[{"prefix":"eagleSiteApplication","tags":{"site" : "sandbox", > "application":"hdfsAuditLog"}, "enabled": true, "config" : > "web.fs.defaultFS: \"hdfs://sandbox.hortonworks.com:8020< > http://sandbox.hortonworks.com:8020>\""}]' > > curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H > 'Content-Type:application/json' > "http://${EAGLE_SERVICE_HOST}:${EAGLE_SERVICE_PORT}/eagle-service/rest/entities?serviceName=SiteApplicationService" > -d '[{"prefix":"eagleSiteApplication","tags":{"site" : "sandbox", > "application":"hbaseSecurityLog"}, "enabled": true, "config" : > "web.hbase.zookeeper.property.clientPort: \"2181\", > web.hbase.zookeeper.quorum: \"localhost\""}]' > > curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H > 'Content-Type:application/json' > "http://${EAGLE_SERVICE_HOST}:${EAGLE_SERVICE_PORT}/eagle-service/rest/entities?serviceName=SiteApplicationService" > -d '[{"prefix":"eagleSiteApplication","tags":{"site" : "sandbox", > "application":"hiveQueryLog"}, "enabled": true, > "config":"web.accessType:\"metastoredb_jdbc\",web.password:\"hive\",web.user:\"hive\",web.jdbcDriverClassName:\"com.mysql.jdbc.Driver\",web.jdbcUrl:\"jdbc:mysql:// > sandbox.hortonworks.com/hive?createDatabaseIfNotExist=true\< > http://sandbox.hortonworks.com/hive?createDatabaseIfNotExist=true%5C>""}]' > > Please let me know if you can do that. > > My skype is hotfeeling_zy, it is also fine we use IM to discuss if you > like. > > @Qingwen, can you file the bug and provide estimated timeline. > > Thanks > Edward > > On Thu, Apr 7, 2016 at 4:18 PM, Carnali, Matthew R. < > matthew.carn...@capitalone.com<mailto:matthew.carn...@capitalone.com>> > wrote: > Hey, > This is the most recent issue I am seeing. > > > > > On 4/6/16, 9:36 AM, "Carnali, Matthew R." <matthew.carn...@capitalone.com > <mailto:matthew.carn...@capitalone.com>> wrote: > > >I am getting the following when I go to Classifications for HDFS: > >I’ve updated the {"fs.defaultFS":"hdfs://something.com:8020”} > > > >But this error now appears. > > > > > >java.lang.Exception: Fail to get WEB_CONFIG configurations for data > classification > > >org.apache.eagle.security.resolver.MetadataAccessConfigRepo.getConfig(MetadataAccessConfigRepo.java:52) > > >org.apache.eagle.service.security.hdfs.rest.HDFSResourceWebResource.getHDFSResource(HDFSResourceWebResource.java:64) > >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > >java.lang.reflect.Method.invoke(Method.java:606) > > >com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > > >com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) > > >com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) > > >com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) > > > >Anyone know what is causing this, where is WEB_CONFIG being set? > > > >EDS DTS – Big Data > >Cell: (908) 528-6422<tel:%28908%29%20528-6422> > >matthew.carn...@capitalone.com<mailto:matthew.carn...@capitalone.com > ><mailto:matthew.carn...@capitalone.com<mailto: > matthew.carn...@capitalone.com>> > >https://www.youtube.com/watch?v=GAXLHM-1Psk > > > > > >________________________________________________________ > > > >The information contained in this e-mail is confidential and/or > proprietary to Capital One and/or its affiliates and may only be used > solely in performance of work or services for Capital One. The information > transmitted herewith is intended only for use by the individual or entity > to which it is addressed. If the reader of this message is not the intended > recipient, you are hereby notified that any review, retransmission, > dissemination, distribution, copying or other use of, or taking of any > action in reliance upon this information is strictly prohibited. If you > have received this communication in error, please contact the sender and > delete the material from your computer. > ________________________________________________________ > > The information contained in this e-mail is confidential and/or > proprietary to Capital One and/or its affiliates and may only be used > solely in performance of work or services for Capital One. The information > transmitted herewith is intended only for use by the individual or entity > to which it is addressed. If the reader of this message is not the intended > recipient, you are hereby notified that any review, retransmission, > dissemination, distribution, copying or other use of, or taking of any > action in reliance upon this information is strictly prohibited. If you > have received this communication in error, please contact the sender and > delete the material from your computer. > > > ________________________________ > > The information contained in this e-mail is confidential and/or > proprietary to Capital One and/or its affiliates and may only be used > solely in performance of work or services for Capital One. The information > transmitted herewith is intended only for use by the individual or entity > to which it is addressed. If the reader of this message is not the intended > recipient, you are hereby notified that any review, retransmission, > dissemination, distribution, copying or other use of, or taking of any > action in reliance upon this information is strictly prohibited. If you > have received this communication in error, please contact the sender and > delete the material from your computer. > >