You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by su...@apache.org on 2014/08/11 08:25:39 UTC
git commit: FALCON-578. Table import & table export failing during
hcat table replication. Contributed by Suhas Vasu
Repository: incubator-falcon
Updated Branches:
refs/heads/master 7ecea3ed7 -> 6bcefc3a4
FALCON-578. Table import & table export failing during hcat table replication. Contributed by Suhas Vasu
Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/6bcefc3a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/6bcefc3a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/6bcefc3a
Branch: refs/heads/master
Commit: 6bcefc3a44be8cf0622578d58459192081867e13
Parents: 7ecea3e
Author: Suhas V <su...@inmobi.com>
Authored: Mon Aug 11 11:55:21 2014 +0530
Committer: Suhas V <su...@inmobi.com>
Committed: Mon Aug 11 11:55:21 2014 +0530
----------------------------------------------------------------------
CHANGES.txt | 3 +++
oozie/src/main/resources/action/feed/falcon-table-export.hql | 2 +-
oozie/src/main/resources/action/feed/falcon-table-import.hql | 4 ++--
3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/6bcefc3a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 5a9f505..1bca803 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -47,6 +47,9 @@ Trunk (Unreleased)
OPTIMIZATIONS
BUG FIXES
+ FALCON-578 Table import & table export failing during hcat table replication
+ (Suhas Vasu)
+
FALCON-571 user libs not getting loaded during process execution
(Shwetha GS via Suhas Vasu)
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/6bcefc3a/oozie/src/main/resources/action/feed/falcon-table-export.hql
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/action/feed/falcon-table-export.hql b/oozie/src/main/resources/action/feed/falcon-table-export.hql
index 37fd1b7..e14df56 100644
--- a/oozie/src/main/resources/action/feed/falcon-table-export.hql
+++ b/oozie/src/main/resources/action/feed/falcon-table-export.hql
@@ -15,4 +15,4 @@
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-export table ${falconSourceDatabase}.${falconSourceTable} partition ${falconSourcePartition} to '${falconSourceStagingDir}';
+export table ${falconSourceDatabase}.${falconSourceTable} partition (${falconSourcePartition}) to '${falconSourceStagingDir}';
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/6bcefc3a/oozie/src/main/resources/action/feed/falcon-table-import.hql
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/action/feed/falcon-table-import.hql b/oozie/src/main/resources/action/feed/falcon-table-import.hql
index 653d580..0aefdfb 100644
--- a/oozie/src/main/resources/action/feed/falcon-table-import.hql
+++ b/oozie/src/main/resources/action/feed/falcon-table-import.hql
@@ -16,5 +16,5 @@
-- limitations under the License.
--
use ${falconTargetDatabase};
-alter table ${falconTargetTable} drop if exists partition ${falconTargetPartition};
-import table ${falconTargetTable} partition ${falconTargetPartition} from '${falconTargetStagingDir}';
+alter table ${falconTargetTable} drop if exists partition (${falconTargetPartition});
+import table ${falconTargetTable} partition (${falconTargetPartition}) from '${falconTargetStagingDir}';