Re: Fail to get WEB_CONFIG configurations for data classification
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 : > The bug should be fixed by this PR: > https://github.com/apache/incubator-eagle/pull/138 > > From: Edward Zhang mailto:yonzhang2...@gmail.com>> > Date: Friday, April 8, 2016 at 11:46 AM > To: "Carnali, Matthew R." matthew.carn...@capitalone.com>> > Cc: Qingwen Zhao mailto:qingwz...@ebay.com>>, "Chen, > Hao" 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>> 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." <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 > classifi
Re: Fail to get WEB_CONFIG configurations for data classification
I just fixed this bug today, and we can update the configurations on EAGLE UI directly. This bug was introduced by a configuration refactor, which only impacts classification pages, which requires a prefix “web” in front of the properties. Later we will update the doc on eagle website. Best Regards, Qingwen Zhao | 赵晴雯 2016-04-08 11:48 GMT+08:00 Chen, Hao : > The bug should be fixed by this PR: > https://github.com/apache/incubator-eagle/pull/138 > > From: Edward Zhang mailto:yonzhang2...@gmail.com>> > Date: Friday, April 8, 2016 at 11:46 AM > To: "Carnali, Matthew R." matthew.carn...@capitalone.com>> > Cc: Qingwen Zhao mailto:qingwz...@ebay.com>>, "Chen, > Hao" 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>> 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." <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 > classifi
Re: Fail to get WEB_CONFIG configurations for data classification
The bug should be fixed by this PR: https://github.com/apache/incubator-eagle/pull/138 From: Edward Zhang mailto:yonzhang2...@gmail.com>> Date: Friday, April 8, 2016 at 11:46 AM To: "Carnali, Matthew R." mailto:matthew.carn...@capitalone.com>> Cc: Qingwen Zhao mailto:qingwz...@ebay.com>>, "Chen, Hao" mailto:hao.ch...@ebay.com>>, "Su, Liangfei" 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. 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 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. 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." 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)
Re: Fail to get WEB_CONFIG configurations for data classification
Sorry about that. Recently I refactored the configuration, and we are going to deprecate the JSON-style format. (Now it's already not a JSON). But now the UI are still checking the JSON format. That's the problem. We are going to merge the fix into the branch mater in these two days. Best Regards, Qingwen Zhao | 赵晴雯 2016-04-07 5:11 GMT+08:00 Edward Zhang : > Daniel is right. I can reproduce the same thing. Looks the new feature is > not verified within UI. > It seems you don't want to use nested json, maybe that is because nested > json is too complicated in curl script. > > > http://localhost:38080/eagle-service/rest/entities?query=SiteApplicationService[]{*}&pageSize=10 > > > {"meta":{"elapsedms":11,"totalResults":4,"lastTimestamp":8640,"firstTimestamp":8640},"success":true,"obj":[{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hiveQueryLog"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQCSLQ7A","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\ > "","enabled":true},{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hdfsAuditLog"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQd4mTUg","config":"web.fs.defaultFS: > \"hdfs://sandbox.hortonworks.com:8020 > \"","enabled":true},{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hbaseSecurityLog"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQjApy6w","config":"web.hbase.zookeeper.property.clientPort: > \"2181\", web.hbase.zookeeper.quorum: > > \"localhost\"","enabled":true},{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hadoopJmxMetricDataSource"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQm_EfhQ","config":"{\"druid\": > {\"coordinator\": \"coordinatorHost:port\", \"broker\": > > \"brokerHost:port\"}}","enabled":true}],"type":"org.apache.eagle.alert.entity.SiteApplicationServiceEntity"} > > > On Wed, Apr 6, 2016 at 12:09 PM, Daniel Zhou > wrote: > > > I'm using the master branch and I think there is a bug for this > > configuration. > > > > It won’t work if I update the configuration in UI with JSON format: > > {"web.fs.defaultFS":"hdfs:// something.com:8020”} > > > > From "eagle-topology-init.sh" I saw this configuration is set in string > > but not json format : > > "config" : "web.fs.defaultFS: \"hdfs://something.com::8020\"" > > > > I cannot update this in web UI as it only save configuration in json > > format, so I modified the hostname in "eagle-toipology-init.sh" and then > > ran it, then it works. > > > > Thanks and regards, > > Da > > > > > > -Original Message- > > From: Hao Chen [mailto:h...@apache.org] > > Sent: Wednesday, April 06, 2016 11:25 AM > > To: dev@eagle.incubator.apache.org > > Subject: Re: Fail to get WEB_CONFIG configurations for data > classification > > > > Could you please have a try with {"web.fs.defaultFS":"hdfs:// > > something.com:8020”} ? > > > > - Hao > > > > On Thu, Apr 7, 2016 at 1:13 AM, Edward Zhang > > wrote: > > > > > Looks like you are using master branch. @Qingwen has refactored this > > > configuration to be prefixed with "web". I think there is some gap > > > between code and documents, we will figure it out soon. > > > > > > Thanks > > > Edward > > > > > > On Wed, Apr 6, 2016 at 9:36 AM, Carnali, Matthew R. < > > > 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”} > > > > > > > > Bu
Re: Fail to get WEB_CONFIG configurations for data classification
Daniel is right. I can reproduce the same thing. Looks the new feature is not verified within UI. It seems you don't want to use nested json, maybe that is because nested json is too complicated in curl script. http://localhost:38080/eagle-service/rest/entities?query=SiteApplicationService[]{*}&pageSize=10 {"meta":{"elapsedms":11,"totalResults":4,"lastTimestamp":8640,"firstTimestamp":8640},"success":true,"obj":[{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hiveQueryLog"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQCSLQ7A","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\"","enabled":true},{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hdfsAuditLog"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQd4mTUg","config":"web.fs.defaultFS: \"hdfs://sandbox.hortonworks.com:8020\"","enabled":true},{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hbaseSecurityLog"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQjApy6w","config":"web.hbase.zookeeper.property.clientPort: \"2181\", web.hbase.zookeeper.quorum: \"localhost\"","enabled":true},{"prefix":"eagleSiteApplication","tags":{"site":"sandbox","application":"hadoopJmxMetricDataSource"},"encodedRowkey":"D-7M5X_62aP_ADXfR28vvsdcpAVQm_EfhQ","config":"{\"druid\": {\"coordinator\": \"coordinatorHost:port\", \"broker\": \"brokerHost:port\"}}","enabled":true}],"type":"org.apache.eagle.alert.entity.SiteApplicationServiceEntity"} On Wed, Apr 6, 2016 at 12:09 PM, Daniel Zhou wrote: > I'm using the master branch and I think there is a bug for this > configuration. > > It won’t work if I update the configuration in UI with JSON format: > {"web.fs.defaultFS":"hdfs:// something.com:8020”} > > From "eagle-topology-init.sh" I saw this configuration is set in string > but not json format : > "config" : "web.fs.defaultFS: \"hdfs://something.com::8020\"" > > I cannot update this in web UI as it only save configuration in json > format, so I modified the hostname in "eagle-toipology-init.sh" and then > ran it, then it works. > > Thanks and regards, > Da > > > -Original Message- > From: Hao Chen [mailto:h...@apache.org] > Sent: Wednesday, April 06, 2016 11:25 AM > To: dev@eagle.incubator.apache.org > Subject: Re: Fail to get WEB_CONFIG configurations for data classification > > Could you please have a try with {"web.fs.defaultFS":"hdfs:// > something.com:8020”} ? > > - Hao > > On Thu, Apr 7, 2016 at 1:13 AM, Edward Zhang > wrote: > > > Looks like you are using master branch. @Qingwen has refactored this > > configuration to be prefixed with "web". I think there is some gap > > between code and documents, we will figure it out soon. > > > > Thanks > > Edward > > > > On Wed, Apr 6, 2016 at 9:36 AM, Carnali, Matthew R. < > > 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.ge > > tHDFSResource(HDFSResourceWebResource.java:64) > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > > ava:57) > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(Del
RE: Fail to get WEB_CONFIG configurations for data classification
I'm using the master branch and I think there is a bug for this configuration. It won’t work if I update the configuration in UI with JSON format: {"web.fs.defaultFS":"hdfs:// something.com:8020”} From "eagle-topology-init.sh" I saw this configuration is set in string but not json format : "config" : "web.fs.defaultFS: \"hdfs://something.com::8020\"" I cannot update this in web UI as it only save configuration in json format, so I modified the hostname in "eagle-toipology-init.sh" and then ran it, then it works. Thanks and regards, Da -Original Message- From: Hao Chen [mailto:h...@apache.org] Sent: Wednesday, April 06, 2016 11:25 AM To: dev@eagle.incubator.apache.org Subject: Re: Fail to get WEB_CONFIG configurations for data classification Could you please have a try with {"web.fs.defaultFS":"hdfs:// something.com:8020”} ? - Hao On Thu, Apr 7, 2016 at 1:13 AM, Edward Zhang wrote: > Looks like you are using master branch. @Qingwen has refactored this > configuration to be prefixed with "web". I think there is some gap > between code and documents, we will figure it out soon. > > Thanks > Edward > > On Wed, Apr 6, 2016 at 9:36 AM, Carnali, Matthew R. < > 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.ge > tHDFSResource(HDFSResourceWebResource.java:64) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > java.lang.reflect.Method.invoke(Method.java:606) > > > > > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMet > hodInvokerFactory.java:60) > > > > > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMetho > dDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispa > tchProvider.java:185) > > > > > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDis > patcher.dispatch(ResourceJavaMethodDispatcher.java:75) > > > > > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodR > ule.java:288) > > > > Anyone know what is causing this, where is WEB_CONFIG being set? > > > > EDS DTS – Big Data > > Cell: (908) 528-6422 > > 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. > > >
Re: Fail to get WEB_CONFIG configurations for data classification
Could you please have a try with {"web.fs.defaultFS":"hdfs:// something.com:8020”} ? - Hao On Thu, Apr 7, 2016 at 1:13 AM, Edward Zhang wrote: > Looks like you are using master branch. @Qingwen has refactored this > configuration to be prefixed with "web". I think there is some gap between > code and documents, we will figure it out soon. > > Thanks > Edward > > On Wed, Apr 6, 2016 at 9:36 AM, Carnali, Matthew R. < > 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 > > 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. > > >
Re: Fail to get WEB_CONFIG configurations for data classification
Looks like you are using master branch. @Qingwen has refactored this configuration to be prefixed with "web". I think there is some gap between code and documents, we will figure it out soon. Thanks Edward On Wed, Apr 6, 2016 at 9:36 AM, Carnali, Matthew R. < 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 > 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. >
Fail to get WEB_CONFIG configurations for data classification
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 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.