title: Error while import the data from MySQL to HBase using Sqoop --query?
body: <p>When I import selected data from MySQL to HBase using Sqoop as follow:</p>
  
  <pre><code>sqoop import --connect jdbc:mysql://xx.xx.xx.xx/db_company 
  --username root 
  --password root 
  --query 'SELECT id,name FROM basic_info WHERE $CONDITIONS LIMIT 100' 
  --hbase-table sls-basic-info 
  --hbase-row-key id 
  --split-by id -m 1 
  --column-family f
  </code></pre>
  
  <p>It returns ERROR message:</p>
  
  <pre><code>17/06/09 16:29:59 INFO mapreduce.Job:  map 0% reduce 0%
  17/06/09 16:32:09 INFO mapreduce.Job: Task Id:
  attempt_1496989037668_0003_m_000000_0, Status : FAILED
  Error: java.lang.RuntimeException: java.lang.RuntimeException:
  com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  The last packet sent successfully to the server was 0 milliseconds ago. 
  The driver has not received any packets from the server.
      at org.apache.sqoop.mapreduce.db.DBInputFormat.setConf(DBInputFormat.java:167)
      at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:136)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:749)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:422)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
  Caused by: java.lang.RuntimeException:     
  com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  </code></pre>
  
  <p>My MySQL server is provided by remote cloud service.</p>