LENS-998 : Fix logging when partitions are skipped while registering

Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/7ca35b8a
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/7ca35b8a
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/7ca35b8a

Branch: refs/heads/current-release-line
Commit: 7ca35b8a75a5839a3e92099c50db95ff193ee093
Parents: c33ef99
Author: Sushil Mohanty <[email protected]>
Authored: Sun Jul 24 07:50:15 2016 +0530
Committer: Amareshwari Sriramadasu <[email protected]>
Committed: Sun Jul 24 07:50:15 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/lens/cube/metadata/CubeMetastoreClient.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lens/blob/7ca35b8a/lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
----------------------------------------------------------------------
diff --git 
a/lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
 
b/lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
index 61f9f99..0dce6c4 100644
--- 
a/lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
+++ 
b/lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
@@ -973,9 +973,8 @@ public class CubeMetastoreClient {
       }
     }
     if (!skippedParts.isEmpty()) {
-      log.info("List of partitions skipped : {}, because they fall before fact 
start time : {} "
-              + "and after fact end time : {}",
-          skippedParts, storageStartDate, storageEndDate);
+      log.info("List of partitions skipped : {}, because they fall before fact 
start time "
+          + "or after end time or they are future partitions", skippedParts);
     }
     return timeSpecs;
   }

Reply via email to