You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by am...@apache.org on 2015/01/21 13:54:50 UTC

incubator-lens git commit: LENS-163 : Fix bug wrt conf propagation (Raju Bairishetti via amareshwari)

Repository: incubator-lens
Updated Branches:
  refs/heads/master 366bbb18c -> f22d06aa4


LENS-163 : Fix bug wrt conf propagation (Raju Bairishetti via amareshwari)


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

Branch: refs/heads/master
Commit: f22d06aa489861f7332214c15b4d2f11d72cc1c0
Parents: 366bbb1
Author: Amareshwari Sriramdasu <am...@inmobi.com>
Authored: Wed Jan 21 18:24:42 2015 +0530
Committer: Amareshwari Sriramdasu <am...@inmobi.com>
Committed: Wed Jan 21 18:24:42 2015 +0530

----------------------------------------------------------------------
 lens-server/src/main/java/org/apache/lens/server/LensServices.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/f22d06aa/lens-server/src/main/java/org/apache/lens/server/LensServices.java
----------------------------------------------------------------------
diff --git a/lens-server/src/main/java/org/apache/lens/server/LensServices.java b/lens-server/src/main/java/org/apache/lens/server/LensServices.java
index 3b0e948..96158dd 100644
--- a/lens-server/src/main/java/org/apache/lens/server/LensServices.java
+++ b/lens-server/src/main/java/org/apache/lens/server/LensServices.java
@@ -199,7 +199,7 @@ public class LensServices extends CompositeService implements ServiceProvider {
       try {
         Configuration configuration = new Configuration(conf);
         configuration.setBoolean(FS_AUTOMATIC_CLOSE, false);
-        persistenceFS = FileSystem.newInstance(persistDir.toUri(), conf);
+        persistenceFS = FileSystem.newInstance(persistDir.toUri(), configuration);
         setupPersistedState();
       } catch (Exception e) {
         LOG.error("Could not recover from persisted state", e);