Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: hadoop map-reduce errors


Copy link to this message
-
Re: hadoop map-reduce errors
Have your checked your connection settings to the MySQL DB? Where and how
are you passing the connection properties for the database? Is it
accessible from the machine you are running this? Is the db up?
On Thu, May 9, 2013 at 9:32 PM, 丙子 <[EMAIL PROTECTED]> wrote:

> When i  run a hadoop job ,there are some errors like this:
> 13/05/10 08:20:59 ERROR manager.SqlManager: Error executing statement:
> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
> link failure
>
> The last packet successfully received from the server was 28,484
> milliseconds ago.  The last packet sent successfully to the server was 1
> milliseconds ago.
> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
> link failure
>
> The last packet successfully received from the server was 28,484
> milliseconds ago.  The last packet sent successfully to the server was 1
> milliseconds ago.
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> ……
> ……
>         at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
>         at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)
> Caused by: java.io.EOFException: Can not read response from server.
> Expected to read 4 bytes, read 0 bytes before connection was unexpectedly
> lost.
>         at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3039)
>         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3489)
>         ... 24 more
>
>
> How  can i resolve it .
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB