cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8427) An error is written to System.out when UserTypesTest is run
Date Fri, 05 Dec 2014 10:04:12 GMT
Benjamin Lerer created CASSANDRA-8427:
-----------------------------------------

             Summary: An error is written to System.out when UserTypesTest is run
                 Key: CASSANDRA-8427
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8427
             Project: Cassandra
          Issue Type: Bug
            Reporter: Benjamin Lerer
            Assignee: Benjamin Lerer
            Priority: Minor


When running {{org.apache.cassandra.cql3.UserTypesTest}} the following error is printed out
to the console.
{code}ERROR 09:58:41 Fatal exception in thread Thread[OptionalTasks:1,5,main]
java.lang.RuntimeException: java.lang.RuntimeException: Error setting schema for test (query
was: DROP TYPE IF EXISTS cql_test_keyspace.type_2)
	at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:188) ~[classes/:na]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_60]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_60]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
~[na:1.7.0_60]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
~[na:1.7.0_60]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_60]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.RuntimeException: Error setting schema for test (query was: DROP TYPE
IF EXISTS cql_test_keyspace.type_2)
	at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:413) ~[classes/:na]
	at org.apache.cassandra.cql3.CQLTester.access$3(CQLTester.java:404) ~[classes/:na]
	at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:167) ~[classes/:na]
	... 7 common frames omitted
Caused by: java.lang.RuntimeException: Error validating query DROP TYPE IF EXISTS cql_test_keyspace.type_2
	at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:374)
~[main/:na]
	at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:409) ~[classes/:na]
	... 9 common frames omitted
Caused by: org.apache.cassandra.exceptions.InvalidRequestException: Cannot drop user type
cql_test_keyspace.type_2 as it is still used by user type type_3
	at org.apache.cassandra.cql3.statements.DropTypeStatement.validate(DropTypeStatement.java:93)
~[main/:na]
	at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:361)
~[main/:na]
	... 10 common frames omitted
ERROR 09:58:41 Fatal exception in thread Thread[OptionalTasks:1,5,main]
java.lang.RuntimeException: java.lang.RuntimeException: Error setting schema for test (query
was: DROP TYPE IF EXISTS cql_test_keyspace.type_2)
	at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:188) ~[classes/:na]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_60]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_60]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
~[na:1.7.0_60]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
~[na:1.7.0_60]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_60]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.RuntimeException: Error setting schema for test (query was: DROP TYPE
IF EXISTS cql_test_keyspace.type_2)
	at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:413) ~[classes/:na]
	at org.apache.cassandra.cql3.CQLTester.access$3(CQLTester.java:404) ~[classes/:na]
	at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:167) ~[classes/:na]
	... 7 common frames omitted
Caused by: java.lang.RuntimeException: Error validating query DROP TYPE IF EXISTS cql_test_keyspace.type_2
	at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:374)
~[main/:na]
	at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:409) ~[classes/:na]
	... 9 common frames omitted
Caused by: org.apache.cassandra.exceptions.InvalidRequestException: Cannot drop user type
cql_test_keyspace.type_2 as it is still used by user type type_3
	at org.apache.cassandra.cql3.statements.DropTypeStatement.validate(DropTypeStatement.java:93)
~[main/:na]
	at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:361)
~[main/:na]
	... 10 common frames omitted{code}



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

Mime
View raw message