sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2647) Add option for drop-if-exists when using sqoop hcat import.
Date Fri, 04 Mar 2016 17:30:41 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180211#comment-15180211
] 

Hudson commented on SQOOP-2647:
-------------------------------

FAILURE: Integrated in Sqoop-hadoop200 #1045 (See [https://builds.apache.org/job/Sqoop-hadoop200/1045/])
SQOOP-2647: Add option for drop-if-exists when using sqoop hcat import. (jarcec: [https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2eecf68010df83b49eb3965a9a99de0cfbfb5828])
* src/test/org/apache/sqoop/hcat/TestHCatalogBasic.java
* src/test/org/apache/sqoop/hcat/HCatalogImportTest.java
* src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java
* src/java/org/apache/sqoop/SqoopOptions.java
* src/java/org/apache/sqoop/tool/BaseSqoopTool.java
* src/docs/user/hcatalog.txt


> Add option for drop-if-exists when using sqoop hcat import.
> -----------------------------------------------------------
>
>                 Key: SQOOP-2647
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2647
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: hive-integration
>    Affects Versions: 1.4.6
>            Reporter: Muhammad Ehsan ul Haque
>            Assignee: Muhammad Ehsan ul Haque
>            Priority: Minor
>              Labels: hcatalog, newbie, trivial
>             Fix For: 1.4.7
>
>         Attachments: SQOOP-2647.1, SQOOP-2647.2, SQOOP-2647.3
>
>
> To recover from a failed sqoop import via hcat using --create-hcatalog-table, there is
a manual step needed to clean up the hive table i.e. (DROP TABLE IF EXISTS <table_name>).
It would be great to have another flag --drop-and-create-hcatalog-table, which works like
--create-hcatalog-table with an addition of drop if exists before creating the table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message