This file contains 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
2019-09-23 16:00:12,039 INFO: URL being requested: GET https://compute.googleapis.com/compute/beta/projects/yugabyte/aggregated/instances?filter=%28status+eq+RUNNING%29+%28name+eq+yb-admin-sanketh-test-1-n1%29&alt=json&maxResults=1 | |
2019-09-23 16:00:12,040 INFO: Attempting refresh to obtain initial access_token | |
2019-09-23 16:00:12,052 INFO: Refreshing access_token | |
2019-09-23 16:00:13,592 INFO: Copying package from local '/opt/yugabyte/releases/1.3.2.1/yugabyte-1.3.2.1-linux.tar.gz' to remote '/tmp/yugabyte-1.3.2.1-linux.tar.gz' | |
2019-09-23 16:06:57,627 INFO: Configuring Instance: yb-admin-sanketh-test-1-n1 | |
2019-09-23 16:06:57,630 INFO: Creating and copying over client TLS certificate | |
Traceback (most recent call last): | |
File "/Users/sanketh/code/yugabyte-db/managed/devops/yb_pyenv/bin/ybcloud.py", line 4, in <module> | |
__import__('pkg_resources').run_script('ybops==0.4', 'ybcloud.py') | |
File "/Users/sanketh/code/yugabyte-db/managed/devops/yb_pyenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 6 |
This file contains 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
# pip install yb-cassandra-driver | |
from cassandra.cluster import Cluster | |
import time | |
import random | |
from multiprocessing.dummy import Pool as ThreadPool | |
# Load Phase params | |
num_write_threads=40 | |
num_keys=200 |
This file contains 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
// Copyright (c) YugaByte, Inc. | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
// in compliance with the License. You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software distributed under the License | |
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
// or implied. See the License for the specific language governing permissions and limitations |
NewerOlder