Importing data from oracle using sqoop -
i using below command import table hadoop oracle using sqoop. m getting errors. noob in hadoop have no idea how fix it.
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 tool-specific arguments) generic options supported -conf <configuration file> specify application configuration file -d <property=value> use value given property -fs <local|namenode:port> specify namenode -jt <local|resourcemanager:port> specify resourcemanager -files <comma separated list of files> specify comma separated files copied map reduce cluster -libjars <comma separated list of jars> specify comma separated jar files include in classpath. -archives <comma separated list of archives> specify comma separated archives unarchived on compute machines. general command line syntax bin/hadoop command [genericoptions] [commandoptions] @ minimum, must specify --connect , --table arguments mysqldump , other subprograms may supplied after '--' on command line.
the dash (-) in verbose different
Comments
Post a Comment