This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR [AntiEntropyStage:1] 2011-08-29 09:11:05,602 AbstractCassandraDaemon.java (line 134) Fatal exception in thread Thread[AntiEntropyStage:1,5,main] | |
java.lang.RuntimeException: java.io.IOException: Streaming repair failed. | |
at org.apache.cassandra.service.AntiEntropyService$RepairSession$Differencer.run(AntiEntropyService.java:796) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | |
at java.lang.Thread.run(Thread.java:662) | |
Caused by: java.io.IOException: Streaming repair failed. | |
at org.apache.cassandra.service.AntiEntropyService$RepairSession$Differencer.performStreamingRepair(AntiEntropyService.java:820) | |
at org.apache.cassandra.service.AntiEntropyService$RepairSession$Differencer.run(AntiEntropyService.java:792) | |
... 3 more |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void doQuery() throws SQLException{ | |
Connection conn = DriverManager.getConnection("jdbc:mysql:thin://root@localhost:3306/sampledb"); | |
String querybeforeCheck = "select Table1.* , Table2.code , Table2.Instruction , Table3.sName , Table3.LineNumber ,Table3.sFName , Table4.TData , Table4.TDataUpdated from Table1 LEFT JOIN Table4 on (Table1.Id = Table4.Id) LEFT JOIN Table2 on (Table1.Address = Table2.Address) LEFT JOIN Table3 on (Table1.Address = Table3.Address)where Table1.id > -1 ORDER BY Table1.id ASC LIMIT 1500"; | |
Statement statement = conn.createStatement( | |
ResultSet.TYPE_SCROLL_INSENSITIVE, | |
ResultSet.CONCUR_UPDATABLE); | |
ResultSet result = statement.executeQuery(querybeforeCheck); | |
while (!result.isClosed() && result.next()) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 891c3126dc9e62c09cfcd7204f68f3c9e848102e Mon Sep 17 00:00:00 2001 | |
From: Marcus Eriksson <[email protected]> | |
Date: Tue, 26 Mar 2013 21:14:33 +0100 | |
Subject: [PATCH] use Java7 apis for moving files and creating symlinks | |
--- | |
.../cassandra/db/compaction/LeveledManifest.java | 2 +- | |
.../org/apache/cassandra/io/util/FileUtils.java | 58 ++++++++++++++++- | |
src/java/org/apache/cassandra/utils/CLibrary.java | 67 -------------------- | |
test/unit/org/apache/cassandra/db/ScrubTest.java | 2 +- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import json | |
import urllib2 | |
import sys | |
BASE_URL = 'http://cassci.datastax.com/job/%s/api/json' | |
def get_test_urls(jsonresponse, max_build_count): | |
urllist = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
HEADER = "||branch||testall||dtest||" | |
BRANCH_TEMPLATE = "[{branch}|https://github.com/{username}/cassandra/tree/{branch}]" | |
TESTALL_TEMPLATE = "[testall|http://cassci.datastax.com/view/Dev/view/{username}/job/{username}-{cassci_branch}-testall]" | |
DTEST_TEMPLATE = "[dtest|http://cassci.datastax.com/view/Dev/view/{username}/job/{username}-{cassci_branch}-dtest]" | |
ROW_TEMPLATE = "|" + BRANCH_TEMPLATE + "|" + TESTALL_TEMPLATE + "|" + DTEST_TEMPLATE + "|" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oss/cassandra [marcuse/dumpthreadsjunit●] » ant test -Dtest.name=LeveledCompactionStrategyTest | |
Buildfile: /home/marcuse/oss/cassandra/build.xml | |
Trying to override old definition of task junit | |
init: | |
maven-ant-tasks-localrepo: | |
maven-ant-tasks-download: |