You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by haoch <gi...@git.apache.org> on 2016/09/14 11:29:28 UTC
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
GitHub user haoch opened a pull request:
https://github.com/apache/incubator-eagle/pull/436
EAGLE-543 Fix eagle server default config, fix eagle server deve dependency
https://issues.apache.org/jira/browse/EAGLE-543
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/haoch/incubator-eagle FixServerLoggingConfig
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/436.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #436
----
commit e254e81c1a4650e19133d9edec3e10b0383c7512
Author: Hao Chen <ha...@apache.org>
Date: 2016-09-14T11:26:19Z
Fix eagle server default config, fix eagle server deve dependency
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/436#discussion_r79298908
--- Diff: eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/spi/ApplicationXMLDescriptorLoader.java ---
@@ -48,7 +48,7 @@ private String generateXMLDescriptorPath() {
public ApplicationDesc getApplicationDesc() {
String descriptorPath = generateXMLDescriptorPath();
ApplicationDesc applicationDesc = new ApplicationDesc();
- applicationDesc.setProviderClass(this.getClass());
+ applicationDesc.setProviderClass(this.providerClass);
--- End diff --
Fix ApplicationProviderClass bug
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #436: EAGLE-543 Fix eagle server default config, fix e...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on the issue:
https://github.com/apache/incubator-eagle/pull/436
@hsaputra thanks for reviewing, and added more description about the changes.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/436#discussion_r79298913
--- Diff: eagle-core/eagle-metadata/eagle-metadata-jdbc/pom.xml ---
@@ -39,10 +39,6 @@
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
- <groupId>com.h2database</groupId>
--- End diff --
Remove duplicated dependency
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/436#discussion_r79298902
--- Diff: eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationProviderServiceImpl.java ---
@@ -103,8 +103,8 @@ private void validate() {
if (!dependency.isRequired()) {
LOG.warn("Unable to load dependency {} -> {}", applicationDesc.getType(), dependency, ex);
} else {
- LOG.error("Failed to load dependency {} -> {}", applicationDesc.getType(), dependency,ex);
- throw new IllegalStateException("Failed to load application providers due to dependency missing",ex);
+ LOG.error("Failed to load dependency {} -> {}", applicationDesc.getType(), dependency, ex);
--- End diff --
Add dependency details for Dependency Missing Exception
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/436#discussion_r79298890
--- Diff: eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationProviderSPILoader.java ---
@@ -82,9 +82,15 @@ private void loadProviderFromClassLoader(ClassLoader jarFileClassLoader, Functio
providerConfig.setJarPath(jarFileSupplier.apply(applicationProvider));
applicationProvider.prepare(providerConfig, getConfig());
registerProvider(applicationProvider);
+ LOG.warn("Loaded {}:{} ({}) from {}",
--- End diff --
Add loaded application providers brief info log.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/436#discussion_r79298934
--- Diff: eagle-server-assembly/src/main/conf/server.yml ---
@@ -13,13 +13,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# Dropwizard Configuration:
+# http://www.dropwizard.io/0.7.1/docs/manual/configuration.html
+
server:
applicationConnectors:
- type: http
port: 9090
adminConnectors:
- type: http
port: 9091
+ requestLog:
--- End diff --
Add eagle server request log config
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #436: EAGLE-543 Fix eagle server default config...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-eagle/pull/436
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #436: EAGLE-543 Fix eagle server default config, fix e...
Posted by hsaputra <gi...@git.apache.org>.
Github user hsaputra commented on the issue:
https://github.com/apache/incubator-eagle/pull/436
Could you add more description about how you are fixing the issue?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---