mysql - Running Sqoop demo. NoHostAvailableException -
i running sqoop demo datastax enterprise 5.0 , have followed every instruction , seem work fine. when run import sql cql exception nohostavailableexception. please need help. thanks
this import options:
cql-import --table npa_nxx --cassandra-keyspace npa_nxx --cassandra-table npa_nxx_data --cassandra-column-mapping npa:npa,nxx:nxx,latitude:lat,longitude:lon,state:state,city:city --connect jdbc:mysql://127.0.0.1:3306/npa_nxx_demo --username root --password xxxx --cassandra-host 127.0.0.1
after run errors (imageexception)
instead of 127.0.0.1
use hostname: can hostname command: hostname -f
Comments
Post a Comment