[
https://issues.apache.org/jira/browse/HIVE-22732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
abdelrahman mahareek updated HIVE-22732:
----------------------------------------
Description:
Importing the HIVE_AUX_JARS_PATH/*jar doesn't work.
By using the command:
> sqoop import --connect jdbc:mysql://xxxxxxxx/database_name --table
> <table_name> --username <user_name> --hive-import --create-hive-table
> --hive-table <hive_table_name> -P
which needs a jar in the auxlib isn't working. However, from hive CLI it works.
was:
Importing the HIVE_AUX_JARS_PATH/*jar doesn't work. because the following
variable HIVE_AUX_JARS_PATH hasn't been initialized before using like
> HIVE_LIB_DIR=${HIVE_HOME}/lib
> ..
> for jar in ${HIVE_LIB_DIR}/*.jar ; do
The result is by using a command like
> sqoop import --connect jdbc:mysql://xxxxxxxx/database_name --table
> <table_name> --username <user_name> --hive-import --create-hive-table
> --hive-table <hive_table_name> -P
which needs a jar in the auxlib isn't working. However, from hive CLI it works.
> hcat command to import jars in auxlib
> --------------------------------------
>
> Key: HIVE-22732
> URL: https://issues.apache.org/jira/browse/HIVE-22732
> Project: Hive
> Issue Type: Bug
> Components: HCatalog
> Reporter: abdelrahman mahareek
> Priority: Major
> Attachments: hcat
>
>
> Importing the HIVE_AUX_JARS_PATH/*jar doesn't work.
> By using the command:
> > sqoop import --connect jdbc:mysql://xxxxxxxx/database_name --table
> > <table_name> --username <user_name> --hive-import --create-hive-table
> > --hive-table <hive_table_name> -P
> which needs a jar in the auxlib isn't working. However, from hive CLI it
> works.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)