Member since
07-03-2017
29
Posts
21
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6485 | 10-27-2017 07:50 AM |
06-29-2018
08:23 AM
@Javert Kirilov When a table is dropped, the data in case of managed tables gets cleaned up. However for an external table only the metadata of the table is cleared and the data still persists as it is in its place. Could you please confirm if you are using managed or external table?
... View more
03-28-2018
07:27 AM
@PJ All the hive queries are executed using the queue specified by "tez.queue.name" property. You should try using -Dtez.queue.name=A argument in sqoop import job.
... View more
01-10-2018
06:23 PM
@Mohammed Syam You can check the host on which hiveserver2 is running by going to Ambari UI and clicking on HiverServer2 under Hive service section. Login to the host and run the script. You can confirm if hive is running by using the command 'which hive' as mentioned above before running the script.
... View more
10-31-2017
06:58 PM
1 Kudo
@Chaitanya D Can you try adding the option --bindir to your sqoop command. --bindir <path to sqoop home>/lib
e.g. /usr/lib/sqoop/sqoop-1.4.6/lib/
... View more
10-31-2017
06:40 PM
1 Kudo
@Andrew Duncan Can you try running the sqoop job by placing all options related to incremental append before --connect option. Something like this - sqoop job --create myjob -- import --append ---check-column <column> --incremental append --last-value -9999999 --connect "jdbc:sqlserver://<server>;database=<database>" -username <databaseUser> --password <databasePassword> --table <table> --target-dir "<someDataDirectory>" --hive-import --hive-database <hiveDatabase>--autoreset-to-one-mapper --hive-delims-replacement " " --outdir <outputdir> --bindir <bindir> -- -- --schema <databaseSchema> Do let me know if it works.
... View more
10-27-2017
07:50 AM
2 Kudos
@Omkar Nalawade As per the Sqoop document, "The --null-string and --null-non-string arguments are optional.\ If not specified, then the string "null" will be used." So, in case if you are using --null-string or --null-non-string you will need to pass some value to these arguments. If you want string "null" to be used in place of null values you can ignore these arguments. You can also use '\N' or "\\N" to use null values. https://community.hortonworks.com/content/supportkb/49673/null-strings-not-handled-by-sqoop-export.html
... View more