[root@cloud4 conf]# sqoop export --connect jdbc:mysql://192.168.56.1:3306/hive --username root --password root --table pv_info --export-dir /hive/hmbbs.db/result/dat2=2013-05-30 --input-fields-terminated-by '\t';
13/10/31 02:24:43 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
13/10/31 02:24:43 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.
13/10/31 02:24:43 INFO tool.CodeGenTool: Beginning code generation
13/10/31 02:24:43 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `pv_info` AS t LIMIT 1
13/10/31 02:24:43 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `pv_info` AS t LIMIT 1
13/10/31 02:24:43 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /usr/local/hadoop
Note: /tmp/sqoop-root/compile/4ab5f7e76b5428c59fb2869c08077146/pv_info.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
13/10/31 02:24:44 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-root/compile/4ab5f7e76b5428c59fb2869c08077146/pv_info.jar
13/10/31 02:24:44 INFO mapreduce.ExportJobBase: Beginning export of pv_info
13/10/31 02:24:45 INFO input.FileInputFormat: Total input paths to process : 1
13/10/31 02:24:45 INFO input.FileInputFormat: Total input paths to process : 1
13/10/31 02:24:45 INFO util.NativeCodeLoader: Loaded the native-hadoop library
13/10/31 02:24:45 WARN snappy.LoadSnappy: Snappy native library not loaded
13/10/31 02:24:45 INFO mapred.JobClient: Running job: job_20