Skip to content

Instantly share code, notes, and snippets.

WARN [GossipStage:1] 2012-06-14 14:52:28,926 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /removed GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 14:52:30,282 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /removed GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 14:52:31,178 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /removed GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 14:52:33,182 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /removed GS Depository Server Cluster 2!=Test Cluster
@maisaengineering
maisaengineering / cassandra v1.1.1 clustername issue
Created June 14, 2012 19:08
node join issue: cluster name err
WARN [GossipStage:1] 2012-06-14 15:05:27,609 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /10.207.93.167 GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 15:05:38,920 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /10.193.209.123 GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 15:05:46,454 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /10.110.229.93 GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 15:05:57,003 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /10.46.214.131 GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 15:05:57,487 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /10.110.229.93 GS Depository Server Cluster 2!=Test Cluster
WARN [GossipStage:1] 2012-06-14 15:06:33,071 GossipDigestSynVerbHandler.java (line 63) ClusterName mismatch from /10.72.249.123 GS Depository Server Clu
NFO [OptionalTasks:1] 2012-06-14 17:16:11,721 MeteredFlusher.java (line 62) flushing high-traffic column family CFS(Keyspace='Keyspace1', ColumnFamily='Standard1') (estimated 646205296 bytes)
INFO [OptionalTasks:1] 2012-06-14 17:16:11,721 ColumnFamilyStore.java (line 633) Enqueuing flush of Memtable-Standard1@1257462341(516964237/646205296 serialized/live bytes, 493 ops)
INFO [FlushWriter:8] 2012-06-14 17:16:11,721 Memtable.java (line 266) Writing Memtable-Standard1@1257462341(516964237/646205296 serialized/live bytes, 493 ops)
INFO [FlushWriter:8] 2012-06-14 17:16:20,339 Memtable.java (line 307) Completed flushing /mnt/data-store/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-hd-2424-Data.db (485623442 bytes) for commitlog position ReplayPosition(segmentId=6090386034158, position=130034708)
INFO [CompactionExecutor:38] 2012-06-14 17:16:20,348 CompactionTask.java (line 109) Compacting [SSTableReader(path='/mnt/data-store/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-hd-2323-Data.d
NFO [OptionalTasks:1] 2012-06-14 17:16:11,721 MeteredFlusher.java (line 62) flushing high-traffic column family CFS(Keyspace='Keyspace1', ColumnFamily='Standard1') (estimated 646205296 bytes)
INFO [OptionalTasks:1] 2012-06-14 17:16:11,721 ColumnFamilyStore.java (line 633) Enqueuing flush of Memtable-Standard1@1257462341(516964237/646205296 serialized/live bytes, 493 ops)
INFO [FlushWriter:8] 2012-06-14 17:16:11,721 Memtable.java (line 266) Writing Memtable-Standard1@1257462341(516964237/646205296 serialized/live bytes, 493 ops)
INFO [FlushWriter:8] 2012-06-14 17:16:20,339 Memtable.java (line 307) Completed flushing /mnt/data-store/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-hd-2424-Data.db (485623442 bytes) for commitlog position ReplayPosition(segmentId=6090386034158, position=130034708)
INFO [CompactionExecutor:38] 2012-06-14 17:16:20,348 CompactionTask.java (line 109) Compacting [SSTableReader(path='/mnt/data-store/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-hd-2323-Data.d
@maisaengineering
maisaengineering / cas_exception
Created June 22, 2012 19:16
Column family creation exception...
va.lang.RuntimeException: java.nio.charset.MalformedInputException: Input length = 1
at org.apache.cassandra.cql3.ColumnIdentifier.<init>(ColumnIdentifier.java:50)
at org.apache.cassandra.cql3.CFDefinition.getKeyId(CFDefinition.java:125)
at org.apache.cassandra.cql3.CFDefinition.<init>(CFDefinition.java:59)
at org.apache.cassandra.config.CFMetaData.updateCfDef(CFMetaData.java:1278)
at org.apache.cassandra.config.CFMetaData.keyAlias(CFMetaData.java:221)
at org.apache.cassandra.config.CFMetaData.fromSchemaNoColumns(CFMetaData.java:1162)
at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1190)
at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:291)
at org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:395)
@maisaengineering
maisaengineering / Rails_upgrade.html
Created January 17, 2013 13:20
Upgrade Rails 2.3 to Rails 3.2
Install Rails Upgrade plugin $ ruby script/plugin install git://github.com/rails/rails_upgrade.git
$ rake rails:upgrade:check
This should give you an idea of the manual changes that need to be done, but you'll probably want to upgrade some of those automatically. The fastest way to do this is to run 'rails .', which will simply generate a new app on top of your existing code. But this generation also has the effect of replacing some existing files, some of which you might not want to replace. To back those up, first run:
rake rails:upgrade:backup
That will backup files you've probably edited that will be replaced in the upgrade; if you finish the upgrade and find that you don't need the old copies, just delete them. Otherwise, copy their contents back into the new files or run one of the following upgraders...
.dashContainer
%h1 Form: Permission for Screening
.standardForm
.standardForm
= form_tag update_form_res_profiles_path, :method => 'post', :name =>"form_data", :id =>"form_data", :onSubmit => "return validate_form_fields(this);", :html=>{:'data_type' => 'json'} do
=hidden_field_tag :form_id, value = params[:form_id]
=hidden_field_tag :org_id, value = params[:org_id]
=hidden_field_tag :season, value = params[:season]
=hidden_field_tag :child, value = params[:child]
=hidden_field_tag :email, value = params[:email]
@maisaengineering
maisaengineering / gist:4631785
Created January 25, 2013 04:33
sample json
{
"form": {
"id": 123456789,
"name": "Sample Form 3 Updated",
"season": "2013-2014",
"panel": [
{
"name": "Child Information",
"field": [
{
@maisaengineering
maisaengineering / gist:4631793
Created January 25, 2013 04:35
json-medical 1
{
"form": {
"id": 123456789,
"name": "Medical from sample 1",
"season": "2013-2014",
"panel": [
{
"name": "Medical Information",
"field": [
{
@maisaengineering
maisaengineering / gist:4631804
Created January 25, 2013 04:37
json-medical-2
{
"form": {
"id": 123456789,
"name": "Medical from sample 2",
"season": "2013-2014",
"panel": [
{
"name": "Medical Information",
"field": [
{