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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -