You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Amit Joshi (JIRA)" <ji...@apache.org> on 2018/08/29 07:50:00 UTC

[jira] [Updated] (SQOOP-3374) Assigning HDFS path to --bindir is giving error "java.lang.reflect.InvocationTargetException"

     [ https://issues.apache.org/jira/browse/SQOOP-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Joshi updated SQOOP-3374:
------------------------------
    Description: 
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 --query 'select * from EDW_PROD.RXCLM_LINE_FACT_DENIED PARTITION(RXCLM_LINE_FACTP201808) where $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

  was:
When I am trying to assign the HDFS directory path to --bindir in my sqoop command, it is throwing error "java.lang.reflect.InvocationTargetException".

I am passing the below value:

--bindir hdfs://user/projects/


> 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: Minor
>
> 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 --query 'select * from EDW_PROD.RXCLM_LINE_FACT_DENIED PARTITION(RXCLM_LINE_FACTP201808) where $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



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