zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jongy...@apache.org
Subject zeppelin git commit: [HOTFIX][ZEPPELIN-2013] Exceeded size of logs makes CI failed
Date Thu, 26 Jan 2017 07:33:57 GMT
Repository: zeppelin
Updated Branches:
  refs/heads/branch-0.7 4ef4c81ce -> 1a5c11348


[HOTFIX][ZEPPELIN-2013] Exceeded size of logs makes CI failed

### What is this PR for?
avoiding failure of CI due to exceeded limit of log size. https://s3.amazonaws.com/archive.travis-ci.org/jobs/195087823/log.txt

### What type of PR is it?
[Bug Fix]

### Todos
* [x] - Changed level of logs

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-2013

### How should this be tested?

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jongyoul Lee <jongyoul@gmail.com>

Closes #1947 from jongyoul/ZEPPELIN-2013 and squashes the following commits:

75d1edc [Jongyoul Lee] Chagned logger level to debug from info

(cherry picked from commit 7486ce15af10634a9bef344305cd0a490276e57b)
Signed-off-by: Jongyoul Lee <jongyoul@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/1a5c1134
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/1a5c1134
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/1a5c1134

Branch: refs/heads/branch-0.7
Commit: 1a5c11348608924a2912766d6a63de9f12278351
Parents: 4ef4c81
Author: Jongyoul Lee <jongyoul@gmail.com>
Authored: Thu Jan 26 01:23:54 2017 +0900
Committer: Jongyoul Lee <jongyoul@apache.org>
Committed: Thu Jan 26 16:33:46 2017 +0900

----------------------------------------------------------------------
 .../main/java/org/apache/zeppelin/dep/DependencyResolver.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/1a5c1134/zeppelin-interpreter/src/main/java/org/apache/zeppelin/dep/DependencyResolver.java
----------------------------------------------------------------------
diff --git a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/dep/DependencyResolver.java
b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/dep/DependencyResolver.java
index 03f6b32..889101f 100644
--- a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/dep/DependencyResolver.java
+++ b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/dep/DependencyResolver.java
@@ -99,7 +99,7 @@ public class DependencyResolver extends AbstractDependencyResolver {
         File destFile = new File(destPath, srcFile.getName());
         if (!destFile.exists() || !FileUtils.contentEquals(srcFile, destFile)) {
           FileUtils.copyFile(srcFile, destFile);
-          logger.info("copy {} to {}", srcFile.getAbsolutePath(), destPath);
+          logger.debug("copy {} to {}", srcFile.getAbsolutePath(), destPath);
         }
       }
     }
@@ -117,7 +117,7 @@ public class DependencyResolver extends AbstractDependencyResolver {
 
     if (!destFile.exists() || !FileUtils.contentEquals(srcFile, destFile)) {
       FileUtils.copyFile(srcFile, destFile);
-      logger.info("copy {} to {}", srcFile.getAbsolutePath(), destPath);
+      logger.debug("copy {} to {}", srcFile.getAbsolutePath(), destPath);
     }
   }
 
@@ -145,7 +145,7 @@ public class DependencyResolver extends AbstractDependencyResolver {
     List<File> files = new LinkedList<>();
     for (ArtifactResult artifactResult : listOfArtifact) {
       files.add(artifactResult.getArtifact().getFile());
-      logger.info("load {}", artifactResult.getArtifact().getFile().getAbsolutePath());
+      logger.debug("load {}", artifactResult.getArtifact().getFile().getAbsolutePath());
     }
 
     return files;


Mime
View raw message