sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkatran...@apache.org
Subject git commit: SQOOP-1169: Sqoop2: org.apache.sqoop.repository.schema.immutable should default to false
Date Fri, 09 Aug 2013 20:57:07 GMT
Updated Branches:
  refs/heads/sqoop2 21c1207b7 -> 72f0ff1c7


SQOOP-1169: Sqoop2: org.apache.sqoop.repository.schema.immutable should default to false

 (Hari Shreedharan via Venkat Ranganathan)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/72f0ff1c
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/72f0ff1c
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/72f0ff1c

Branch: refs/heads/sqoop2
Commit: 72f0ff1c7463c98aeae5dd34a66d4a58dd72dba3
Parents: 21c1207
Author: Venkat Ranganathan <venkat@hortonworks.com>
Authored: Fri Aug 9 13:48:57 2013 -0700
Committer: Venkat Ranganathan <venkat@hortonworks.com>
Committed: Fri Aug 9 13:48:57 2013 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/sqoop/repository/RepositoryManager.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/72f0ff1c/core/src/main/java/org/apache/sqoop/repository/RepositoryManager.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/sqoop/repository/RepositoryManager.java b/core/src/main/java/org/apache/sqoop/repository/RepositoryManager.java
index d77a39b..25d5d9d 100644
--- a/core/src/main/java/org/apache/sqoop/repository/RepositoryManager.java
+++ b/core/src/main/java/org/apache/sqoop/repository/RepositoryManager.java
@@ -113,7 +113,8 @@ public class RepositoryManager implements Reconfigurable {
 
     provider.initialize(context);
 
-    if(!context.getBoolean(RepoConfigurationConstants.SYSCFG_REPO_SCHEMA_IMMUTABLE, true))
{
+    if(!context.getBoolean(RepoConfigurationConstants
+      .SYSCFG_REPO_SCHEMA_IMMUTABLE, false)) {
       LOG.info("Creating or upgrading on disk structures if necessary");
       provider.getRepository().createOrUpdateInternals();
     }


Mime
View raw message