cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11512) exception on using dse to import oracle data: Exception in thread "main" java.lang.NoClassDefFoundError: io/airlift/command/Cli
Date Mon, 27 Jun 2016 15:13:52 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Yeschenko updated CASSANDRA-11512:
------------------------------------------
    Fix Version/s:     (was: 3.0.4)
                   3.0.x

> exception on using dse to import oracle data: Exception in thread "main" java.lang.NoClassDefFoundError:
io/airlift/command/Cli
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11512
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11512
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: os : centos 7
> java : 1.8
> jdbc : ojdbc-14
> sqoop : 1.4.6
>            Reporter: Hossein Vatani
>             Fix For: 3.0.x
>
>
> hi,
> I tried to import data from oracle table to cassandra table and using below command:
> {quote}
> dse sqoop import --connect jdbc:oracle://IP:Port/SID --username oracle –assword oracle
--table TableName --cassandra-keyspace KEYSPACE1 --cassandra-column-family ColName --cassandra-row-key
ColName --cassandra-thrift-host localhost --cassandra-create-schema
> {quote}
> and I got:
> {quote}
> Exception in thread "main" java.lang.NoClassDefFoundError: io/airlift/command/Cli
> 	at com.datastax.bdp.tools.DseClientTool.main(DseClientTool.java:47)
> Caused by: java.lang.ClassNotFoundException: io.airlift.command.Cli
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 1 more
> Unable to start sqoop: jobtracker not found
> {quote}
> also any time when I installed dse , after that when I tried cqlsh I got
> {quote}
> Connection error: ('Unable to connect to any servers', {'localhost': error(111, "Tried
connecting to [('::1', 9042, 0, 0), ('127.0.0.1', 9042), ('172.18.12.20', 9042)]. Last error:
Connection refused")})
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message