13/08/2
0
16:57:0
5
INF
O
manager.SqlManager: Executing SQL statement:
SELECT
t.* FROM
`active`
AS t LIMIT
1
13/08/2
0
16:57:0
5
INF
O
manager.SqlManager: Executing SQL statement:
SELECT
t.* FROM
`active`
AS t LIMIT
1
13/08/2
0
16:57:0
5
WAR
N
hive.TableDefWriter: Column day had to be cast
to a
less precise
type
in Hive
13/08/2
0
16:57:0
5
INF
O
hive.HiveImport: Loading uploaded data into
Hive
1、拒绝连接
[hadoop@hs11 ~]$ sqoop export –connect jdbc:mysql://localhost/test –username root –password admin –table test –export-dir
/user/h ive/warehouse/actmp
Warning: /usr/lib/hcatalog does not exist! HCatalog jobs will
fail. Please set $HCAT_HOME to the root of your HCatalog
installation.
13/08/21 09:14:07 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
13/08/2
1
09:14:0
7
INF
O
manager.MySQLManager: Preparing to use a MySQL streaming resultset.
13/08/2
1
09:14:0
7
INF
O
tool.CodeGenTool: Beginning code generation
13/08/2
1
09:14:0
7
INF
O
manager.SqlManager: Executing SQL statement: SELECT t.* FROM `test` AS t
LIMIT 1
13/08/2
1
09:14:0
7
INF
O
manager.SqlManager: Executing SQL statement: SELECT t.* FROM `test` AS t
LIMIT 1
13/08/2
1
09:14:0
7
INF
O
orm.CompilationManager: HADOOP_MAPRED_HOME is /home/hadoop/hadoop-1.1.2
Note: /tmp/sqoop-hadoop/compile/0b5cae714a00b3940fb793c3694408ac/test.java uses or overrides a
deprecated API. Note: Recompile with -Xlint:deprecation for details.
13/08/21 09:14:08 INFO orm.CompilationManager: Writing jar file:
/tmp/sqoop-hadoop/compile/0b5cae714a00b3940fb793c3694408ac/test.ja r
13/08/21 09:14:08 INFO mapreduce.ExportJobBase: Beginning export of
test 13/08/21 09:14:09 INFO input.FileInputFormat: Total input paths to
process : 1 13/08/21 09:14:09 INFO input.FileInputFormat: Total input
paths to process : 1 13/08/21 09:14:09 INFO util.NativeCodeLoader:
Loaded the native-hadoop library 13/08/21 09:14:09 WARN
snappy.LoadSnappy: Snappy native library not loaded 13/08/21 09:14:10
INFO mapred.JobClient: Running job: job_201307251523_0059 13/08/21
09:14:11 INFO mapred.JobClient: map 0% reduce 0%
13/08/21 09:14:20 INFO mapred.JobClient: Task Id : attempt_201307251523_0059_m_000000_0, Status : FAILED
java.io.IOException: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying
exception:
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection refused
STACKTRACE:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at
评论0
最新资源