sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Voros (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-3374) Assigning HDFS path to --bindir is giving error "java.lang.reflect.InvocationTargetException"
Date Tue, 04 Sep 2018 08:06:00 GMT

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

Daniel Voros commented on SQOOP-3374:

[~amjosh911] setting an HDFS location for {{--bindir}} is not supported at the moment. What
is your use-case that would require to do so? A workaround might be putting the generated
files on HDFS manually after the Sqoop job finishes.

> Assigning HDFS path to --bindir is giving error "java.lang.reflect.InvocationTargetException"
> ---------------------------------------------------------------------------------------------
>                 Key: SQOOP-3374
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3374
>             Project: Sqoop
>          Issue Type: Wish
>          Components: sqoop2-api
>            Reporter: Amit Joshi
>            Priority: Blocker
> When I am trying to assign the HDFS directory path to --bindir in my sqoop command, it
is throwing error "java.lang.reflect.InvocationTargetException".
> My sqoop query looks like this:
> sqoop import -connect connection_string --username username --password-file file_path
$CONDITIONS' --as-parquetfile --compression-codec org.apache.hadoop.io.compress.SnappyCodec
--append --target-dir target_dir *-bindir hdfs://user/projects/* --split-by RX_ID --null-string
'/N' --null-non-string '/N' --fields-terminated-by ',' -m 10
> It is creating folder "hdfs:" in my home directory.

This message was sent by Atlassian JIRA

View raw message