You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by jo...@apache.org on 2017/01/26 07:33:40 UTC

zeppelin git commit: [HOTFIX][ZEPPELIN-2013] Exceeded size of logs makes CI failed

Repository: zeppelin
Updated Branches:
  refs/heads/master 90735979a -> 7486ce15a


[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 <jo...@gmail.com>

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

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


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

Branch: refs/heads/master
Commit: 7486ce15af10634a9bef344305cd0a490276e57b
Parents: 9073597
Author: Jongyoul Lee <jo...@gmail.com>
Authored: Thu Jan 26 01:23:54 2017 +0900
Committer: Jongyoul Lee <jo...@apache.org>
Committed: Thu Jan 26 16:33:33 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/7486ce15/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;