Bug 952248 - Cassandra Metric Simulator cannot start cassandra node
Summary: Cassandra Metric Simulator cannot start cassandra node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Installer
Version: JON 3.2
Hardware: i386
OS: Linux
unspecified
high
Target Milestone: ---
: JON 3.2.0
Assignee: John Sanda
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-04-15 13:24 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
metric-simulator-error.txt (14.10 KB, text/plain)
2013-04-15 13:24 UTC, Armine Hovsepyan
no flags Details
test.json (3.35 KB, application/octet-stream)
2013-04-15 13:25 UTC, Armine Hovsepyan
no flags Details

Description Armine Hovsepyan 2013-04-15 13:24:49 UTC
Created attachment 735900 [details]
metric-simulator-error.txt

Description of problem:
metric simulator cannot start cassandra node with the following exception in logs:
 "Unable to open thrift connection to cassandra node [CassandraNode[hostName: 127.0.0.1, thriftPort: 9160, nativeTransportPort: 9042]]
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused"

Version-Release number of selected component (if applicable):
cassandra-backend jenkins build 140
java openjdk 1.7

How reproducible:
always

Steps to Reproduce:
1. Run rhq-ms.sh -s test.json
2.
3.
  
Actual results:
exception is thrown

Expected results:
cassandra nodes should be created and started, data should be added into database

Additional info:
Exception log with test.json are attached

Comment 1 Armine Hovsepyan 2013-04-15 13:25:47 UTC
Created attachment 735901 [details]
test.json

Comment 2 John Sanda 2013-04-19 02:43:51 UTC
Is this still and issue? If so, can you please provide me with the log file from the metrics simulator.

Comment 3 John Sanda 2013-04-19 02:49:23 UTC
I have committed a fix for this. I needed to add back the delay to allow for cluster initialization. This fix will be in build 164.

feature/cassandra-backend commit hash: f242ac3c3

Comment 4 Armine Hovsepyan 2013-04-19 09:11:23 UTC
verified.
please see "metric_data_simulator" build 26 and 27 (openjdk7 and oraclejdk6)


Note You need to log in before you can comment on or make changes to this bug.