Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
9e913b79
Commit
9e913b79
authored
9 years ago
by
sainthxd@gmail.com
Browse files
Options
Downloads
Patches
Plain Diff
change the port of Cassandra (previous version 1.2) as a parameter instead of a constant 9160
parent
35720bb2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cassandra/src/main/java/com/yahoo/ycsb/db/CassandraClient10.java
+1
-1
1 addition, 1 deletion
...ra/src/main/java/com/yahoo/ycsb/db/CassandraClient10.java
with
1 addition
and
1 deletion
cassandra/src/main/java/com/yahoo/ycsb/db/CassandraClient10.java
+
1
−
1
View file @
9e913b79
...
...
@@ -136,7 +136,7 @@ public class CassandraClient10 extends DB
for
(
int
retry
=
0
;
retry
<
ConnectionRetries
;
retry
++)
{
tr
=
new
TFramedTransport
(
new
TSocket
(
myhost
,
9160
));
tr
=
new
TFramedTransport
(
new
TSocket
(
myhost
,
Integer
.
parseInt
(
getProperties
().
getProperty
(
"port"
,
"
9160
"
))
));
TProtocol
proto
=
new
TBinaryProtocol
(
tr
);
client
=
new
Cassandra
.
Client
(
proto
);
try
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment