sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arvind@cloudera.com" <arv...@cloudera.com>
Subject Re: question about applying patch
Date Tue, 13 Sep 2011 17:01:32 GMT
[Moving the thread to sqoop-user@incubator.apache.org]

Hi Chalcy,

I would suggest you download the latest sources from Sqoop SVN by doing:

svn co https://svn.apache.org/repos/asf/incubator/sqoop/trunk/ sqoop

Instructions on how to build the code are available in COMPILING.txt
file located at the top level directory.

Thanks,
Arvind

On Tue, Sep 13, 2011 at 6:00 AM, Chalcy Raja
<Chalcy.Raja@careerbuilder.com> wrote:
> Hi,
>
>
>
> I am trying to import sqlserver table in to hive table using sqoop.  The
> import failed on nvarchar field.  There is a patch released as per
> https://issues.apache.org/jira/browse/SQOOP-323?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs.
>
>
>
> How do I apply this patch to the existing sqoop?
>
>
>
> Thank you,
>
> Chalcy
>
>
>
> The error I am getting is,
>
>
>
> Hive does not support the SQL type for column xxxxxxxx  -- the column is
> nvarchar
>
>         at
> com.cloudera.sqoop.hive.TableDefWriter.getCreateTableStmt(TableDefWriter.java:150)
>
>         at
> com.cloudera.sqoop.hive.HiveImport.importTable(HiveImport.java:187)
>
>         at
> com.cloudera.sqoop.tool.ImportTool.importTable(ImportTool.java:362)
>
>         at com.cloudera.sqoop.tool.ImportTool.run(ImportTool.java:423)
>
>         at com.cloudera.sqoop.Sqoop.run(Sqoop.java:144)
>
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>
>         at com.cloudera.sqoop.Sqoop.runSqoop(Sqoop.java:180)
>
>         at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:218)
>
>         at com.cloudera.sqoop.Sqoop.main(Sqoop.java:228)
>
>

Mime
View raw message