[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2018-02-26 Thread Szabolcs Vasas (JIRA)

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

Szabolcs Vasas commented on SQOOP-1904:
---

Hi [~rush27],

I think the best you can do then is to apply this patch on 1.4.6 release and 
build Sqoop yourself, but I am not sure it will cleanly apply since 1.4.6 is a 
quite old release.

I am afraid that without this patch you cannot make the DB2 XML type work with 
Sqoop.

Szabolcs

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: Ying Cao
>Priority: Major
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, 
> SQOOP-1904.7.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2018-02-23 Thread rush (JIRA)

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

rush commented on SQOOP-1904:
-

Hi Szabolcs,

Thanks for the reply. I tried with version 1.4.6. Is there any other way i can 
do it with xml datatype in 1.4.6 version.
Thanks in advance.

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: Ying Cao
>Priority: Major
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, 
> SQOOP-1904.7.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2018-02-22 Thread Szabolcs Vasas (JIRA)

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

Szabolcs Vasas commented on SQOOP-1904:
---

Hi [~rush27],

This improvement was released in Sqoop 1.4.7, what is the version you tried?

Szabolcs

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: Ying Cao
>Priority: Major
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, 
> SQOOP-1904.7.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2018-02-21 Thread rush (JIRA)

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

rush commented on SQOOP-1904:
-

Hi,

I'm tring to do sqoop import from db2 to hdfs , but the db2 table has xml data 
type and hence i'm getting error ; ERROR orm.ClassWriter: No Java type for SQL 
type  for column.I'm trying to import as --textfile. I tried all 
the possible options of using map-column-hive and map-column-java.
KIndly help.

Also please let me know if sqoop supports this or not ,if yes then on which 
configuration.Thanks in advance

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: Ying Cao
>Priority: Major
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, 
> SQOOP-1904.7.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-03-01 Thread Ying Cao (JIRA)

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

Ying Cao commented on SQOOP-1904:
-

[~maugli] could you assign this JIRA to me? 

By the way I am also interest in other Sqoop JIRAs, could you add me as an 
contributor? Then I could assign JIRA and work on it.

Thanks
Angela

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, 
> SQOOP-1904.7.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-24 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-1904:
---

FAILURE: Integrated in Jenkins build Sqoop-hadoop23 #1293 (See 
[https://builds.apache.org/job/Sqoop-hadoop23/1293/])
SQOOP-1904: Add support for DB2 XML data type (import use case) (maugli: 
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git=commit=5ccef5fd7683685eed09c33c8847645608fab7b2])
* (edit) src/java/org/apache/sqoop/manager/Db2Manager.java
* (add) src/test/org/apache/sqoop/manager/db2/DB2XmlTypeImportManualTest.java


> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-24 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-1904:
---

FAILURE: Integrated in Jenkins build Sqoop-hadoop20 #1092 (See 
[https://builds.apache.org/job/Sqoop-hadoop20/1092/])
SQOOP-1904: Add support for DB2 XML data type (import use case) (maugli: 
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git=commit=5ccef5fd7683685eed09c33c8847645608fab7b2])
* (edit) src/java/org/apache/sqoop/manager/Db2Manager.java
* (add) src/test/org/apache/sqoop/manager/db2/DB2XmlTypeImportManualTest.java


> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-24 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-1904:
---

FAILURE: Integrated in Jenkins build Sqoop-hadoop200 #1097 (See 
[https://builds.apache.org/job/Sqoop-hadoop200/1097/])
SQOOP-1904: Add support for DB2 XML data type (import use case) (maugli: 
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git=commit=5ccef5fd7683685eed09c33c8847645608fab7b2])
* (edit) src/java/org/apache/sqoop/manager/Db2Manager.java
* (add) src/test/org/apache/sqoop/manager/db2/DB2XmlTypeImportManualTest.java


> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-24 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-1904:
---

FAILURE: Integrated in Jenkins build Sqoop-hadoop100 #1056 (See 
[https://builds.apache.org/job/Sqoop-hadoop100/1056/])
SQOOP-1904: Add support for DB2 XML data type (import use case) (maugli: 
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git=commit=5ccef5fd7683685eed09c33c8847645608fab7b2])
* (add) src/test/org/apache/sqoop/manager/db2/DB2XmlTypeImportManualTest.java
* (edit) src/java/org/apache/sqoop/manager/Db2Manager.java


> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SQOOP-1904:


Commit 5ccef5fd7683685eed09c33c8847645608fab7b2 in sqoop's branch 
refs/heads/trunk from [~maugli]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=5ccef5f ]

SQOOP-1904: Add support for DB2 XML data type (import use case)

(Ying Cao via Attila Szabo)


> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-24 Thread Attila Szabo (JIRA)

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

Attila Szabo commented on SQOOP-1904:
-

Thank you Ying Cao for your contribution.

Cheers,
[~maugli]

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-13 Thread Rui Li (JIRA)

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

Rui Li commented on SQOOP-1904:
---

Hi [~stanleyxu2005], any chance you might be able to review this one? Or let us 
know whom to contact for reviewing? Thanks.

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-09 Thread Ying Cao (JIRA)

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

Ying Cao commented on SQOOP-1904:
-

[~maugli] [~abrahamfine] Could you please kindly review SQOOP-1904.6.patch we 
uploaded? 

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.6.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-02-05 Thread Ying Cao (JIRA)

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

Ying Cao commented on SQOOP-1904:
-

Create document SQOOP-3131

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.5.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-01-22 Thread Ying Cao (JIRA)

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

Ying Cao commented on SQOOP-1904:
-

[~abec] and [~jarcec] Could you please kindly reivew SQOOP-1904.4.path we 
uploaded?

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, 
> SQOOP-1904.4.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



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


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-01-17 Thread Ying Cao (JIRA)

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

Ying Cao commented on SQOOP-1904:
-

[~abec] [~jarcec] [~BoglarkaEgyed] Could you please kindly review 
SQOOP-1903.3.path we uploaded? 

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.2.patch, SQOOP-1904.3.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



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


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2017-01-03 Thread Ying Cao (JIRA)

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

Ying Cao commented on SQOOP-1904:
-

[~jarcec]I create UT for it, and debase a new patch

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: 0001-SQOOP-1904.patch, SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



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


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2015-12-15 Thread Jarek Jarcec Cecho (JIRA)

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

Jarek Jarcec Cecho commented on SQOOP-1904:
---

Totally, we already have bunch of [DB2 specific test 
cases|https://github.com/apache/sqoop/blob/trunk/src/test/com/cloudera/sqoop/manager/DB2ManagerImportManualTest.java].

> support for DB2 XML data type when importing to hdfs
> 
>
> Key: SQOOP-1904
> URL: https://issues.apache.org/jira/browse/SQOOP-1904
> Project: Sqoop
>  Issue Type: Improvement
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
> DB2 10.5 
>Reporter: xieshiju
>Assignee: xieshiju
>  Labels: features
> Fix For: 1.4.7
>
> Attachments: SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an 
> error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 
> 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
> db2inst1 --hive-table product_ct --table PRODUCT



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


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2015-03-06 Thread Robert Mckeown (JIRA)

[ 
https://issues.apache.org/jira/browse/SQOOP-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14350908#comment-14350908
 ] 

Robert Mckeown commented on SQOOP-1904:
---

Apologies if this is the wrong forum for this question - I'm only 30min into 
playing with Sqoop and  I am encountering the issue that I think this patch 
claims to fix ( reading data from DB2 with columns that contain XML data/type).
Is there a jar file with this patch ready to go? - or do I have to go build 
sqoop myself from scratch to test out this patch ? 

 support for DB2 XML data type when importing to hdfs
 

 Key: SQOOP-1904
 URL: https://issues.apache.org/jira/browse/SQOOP-1904
 Project: Sqoop
  Issue Type: Improvement
  Components: connectors
Affects Versions: 1.4.5
 Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
 DB2 10.5 
Reporter: xieshiju
Assignee: xieshiju
  Labels: features
 Fix For: 1.4.6

 Attachments: SQOOP-1904.patch

   Original Estimate: 504h
  Remaining Estimate: 504h

 The DB2 connector should add XML data type support otherwise you will get an 
 error that Hive does not support the SQL type.
 Example with column DESCRIPTION data type XML:
 $SQOOP_HOME/bin/sqoop create-hive-table --connect 
 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
 db2inst1 --hive-table product_ct --table PRODUCT



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


[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

2014-12-23 Thread Abraham Elmahrek (JIRA)

[ 
https://issues.apache.org/jira/browse/SQOOP-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14257353#comment-14257353
 ] 

Abraham Elmahrek commented on SQOOP-1904:
-

[~xieshiju], thanks for providing a patch for this. Could you create a review 
board entry and link it to this Jira?

 support for DB2 XML data type when importing to hdfs
 

 Key: SQOOP-1904
 URL: https://issues.apache.org/jira/browse/SQOOP-1904
 Project: Sqoop
  Issue Type: Improvement
  Components: connectors
Affects Versions: 1.4.5
 Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + 
 DB2 10.5 
Reporter: xieshiju
  Labels: features
 Fix For: 1.4.6

 Attachments: SQOOP-1904.patch

   Original Estimate: 504h
  Remaining Estimate: 504h

 The DB2 connector should add XML data type support otherwise you will get an 
 error that Hive does not support the SQL type.
 Example with column DESCRIPTION data type XML:
 $SQOOP_HOME/bin/sqoop create-hive-table --connect 
 'jdbc:db2://xxx.svl.ibm.com:6/SAMPLE' --username db2inst1 --password 
 db2inst1 --hive-table product_ct --table PRODUCT



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