Ich verwende unter Befehl, um Tabelle in Hadoop von Oracle mit sqoop zu importieren. aber ich bekomme Fehler. Wie ich in hadoop noob bin, habe ich keine Idee, wie man es repariert.Importieren von Daten aus Oracle mit sqoop
sqoop import --connect "jdbc:oracle:thin:@172.16.10.112:1523:TABS" --username testuser1 --password testuser1 --table tabs.user_info --target-dir /tmp –verbose
Generic Hadoop command-line arguments:
(must preceed any tool-specific arguments)
Generic options supported are
-conf <configuration file> specify an application configuration file
-D <property=value> use value for given property
-fs <local|namenode:port> specify a namenode
-jt <local|resourcemanager:port> specify a ResourceManager
-files <comma separated list of files> specify comma separated files to be copied to the map reduce cluster
-libjars <comma separated list of jars> specify comma separated jar files to include in the classpath.
-archives <comma separated list of archives> specify comma separated archives to be unarchived on the compute machines.
The general command line syntax is
bin/hadoop command [genericOptions] [commandOptions]
At minimum, you must specify --connect and --table
Arguments to mysqldump and other subprograms may be supplied
after a '--' on the command line.
ja .. die sqoop spezifischen Befehle sollten ('--') davor haben. –
danke. Ich bin so dumm, dass ich nicht hinzugefügt habe - vor wortreich. –