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 nupic.frameworks.opf.modelfactory import ModelFactory | |
import model_params | |
m = ModelFactory.create(model_params.MODEL_PARAMS) |
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
Relevant File Content: | |
---------------------- | |
/mnt/cache/chef/cookbooks/chef-server/recipes/rubygems-install.rb: | |
195: ["rhel", "fedora"] => "sysconfig" | |
196: ) | |
197: | |
198: chef_version = node['chef_packages']['chef']['version'] | |
199: gems_dir = node['languages']['ruby']['gems_dir'] | |
200: |
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 |
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 |
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
[10.124.229.218:1001] put: /etc/chef/encrypted_data_bag_secret -> /etc/chef/encrypted_data_bag_secret [0/1720][10.124.229.218:1001] Executing task 'chef.run_client'[10.124.229.218:1001] run: chef-client -j /etc/chef/first-boot.json[10.124.229.218:1001] out: | |
[10.124.229.218:1001] out: ================================================================================ | |
[10.124.229.218:1001] out: Error Resolving Cookbooks for Run List:[10.124.229.218:1001] out: ================================================================================[10.124.229.218:1001] out: [10.124.229.218:1001] out: Missing Cookbooks: | |
[10.124.229.218:1001] out: ------------------[10.124.229.218:1001] out: The following cookbooks are required by the client but don't exist on the server:[10.124.229.218:1001] out: * [10.124.229.218:1001] out: [10.124.229.218:1001] out: [10.124.229.21 |
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
select count(*) | |
into @exists | |
from information_schema.tables | |
where table_schema = 'dbs_admin' | |
and table_name = 'dbs_auto_increment'; | |
set @qry = if(@exists<0, | |
'rename table publisher.dbs_auto_increment to dbs_admin.dbs_auto_increment', | |
'select \'table exists\' status'); |
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
DATABASES = { 'default': { 'ENGINE': 'bigdoor.lib.dbshards', 'NAME': 'bigdoor_test', | |
'USER': 'django', | |
'PASSWORD': 'MASKED, | |
'HOST': 'bigdoor_dbs', 'PORT': 4545 | |
}, |
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
index 3144d77..f2629e4 100644 | |
--- a/cookbooks/dbshards/metadata.rb | |
+++ b/cookbooks/dbshards/metadata.rb | |
@@ -3,7 +3,7 @@ maintainer_email "[email protected]" | |
license "All rights reserved" | |
description "Installs/Configures dbshards" | |
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | |
-version "0.0.36" | |
+version "0.0.37" | |
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
[Dec 5, 2012 11:12:32 AM] [WARN] [com.dbshards.config.DbsConfigParser] [main] Ignoring client invalid element transaction-isolation-level | |
Connected OK | |
SQLConsole> update publisher.publisher_publisher set id=0 where company="MASKED"; | |
[Dec 5, 2012 11:12:58 AM] [ERROR] [com.dbshards.jdbc.sharding.DbsShardedConnection] [main] PRE_COMMIT FAILED: java.sql.SQLException: PRE_COMMIT failed for TX c1345464-4a6f-4382-bbc6-7ad7f0174a77:1:1: Failed to send message: Commit: mode=MODE_PRE_COMMIT; agentAssignedId=-1; txId=c1345464-4a6f-4382-bbc6-7ad7f0174a77:1:1; connId=c1345464-4a6f-4382-bbc6-7ad7f0174a77:1; statementCount=1; hopCount=1; language=1; targetShard=1; targetShardNot=-1; hopCount=1; primaryAgentId=1; primaryShardId=1 due to FAIL_ACK_PRE_COMMIT_FAILED: FAIL_ACK (10.38.46.228:4010) | |
at com.dbshards.jdbc.replicate.DbsReplicateConnection.commit(DbsReplicateConnection.java:448) | |
at com.dbshards.jdbc.sharding.DbsShardedConnection.commit(DbsShardedConnection.java:280) | |
at com.dbshards.jdbc.sharding |
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
012-12-05 00:14:34,540 INFO c.c.c.m.t.n.NioServer [NioServer-WorkerPool-7] Closing connection after IOException | |
2012-12-05 00:14:34,540 ERROR c.c.c.m.t.n.NioServer [NioServer-WorkerPool-11] Error reading or processing request | |
java.io.IOException: Invalid protocol '-85'. Message header: ab cd ef 00 00 00 01 01 00 00 00 00 11 00 | |
at com.codefutures.common.messaging.protocol.protobuf.ProtoBufProtocolHandler.processBuffer(ProtoBufProtocolHandler.java:99) | |
at com.codefutures.common.messaging.transport.nio.NioConnection.doRead(NioConnection.java:127) | |
at com.codefutures.common.messaging.transport.nio.NioServer.doProcessRequests(NioServer.java:555) | |
at com.codefutures.common.messaging.transport.nio.NioServer.access$200(NioServer.java:25) | |
at com.codefutures.common.messaging.transport.nio.NioServer$2.run(NioServer.java:533) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th |