[ https://issues.apache.org/jira/browse/CASSANDRA-12437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842964#comment-15842964 ]
Philip Thompson commented on CASSANDRA-12437: --------------------------------------------- Why would we not just specify the correct port for stress to connect to? > dtest failure in bootstrap_test.TestBootstrap.local_quorum_bootstrap_test > ------------------------------------------------------------------------- > > Key: CASSANDRA-12437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12437 > Project: Cassandra > Issue Type: Test > Reporter: Craig Kodman > Assignee: DS Test Eng > Labels: dtest, windows > Attachments: node1_debug.log, node1_gc.log, node1.log, > node2_debug.log, node2_gc.log, node2.log > > > example failure: > http://cassci.datastax.com/job/cassandra-2.2_dtest_win32/281/testReport/bootstrap_test/TestBootstrap/local_quorum_bootstrap_test > {code} > Stacktrace > File "C:\tools\python2\lib\unittest\case.py", line 329, in run > testMethod() > File > "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\bootstrap_test.py", > line 389, in local_quorum_bootstrap_test > 'ops(insert=1)', '-rate', 'threads=50']) > File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\ccm\ccmlib\node.py", > line 1244, in stress > return handle_external_tool_process(p, ['stress'] + stress_options) > File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\ccm\ccmlib\node.py", > line 1955, in handle_external_tool_process > raise ToolError(cmd_args, rc, out, err) > 'Subprocess [\'stress\', \'user\', \'profile=d:\\\\temp\\\\2\\\\tmp8sf4da\', > \'n=2M\', \'no-warmup\', \'ops(insert=1)\', \'-rate\', \'threads=50\'] exited > with non-zero status; exit status: 1; \nstderr: Exception in thread "main" > java.io.IOError: java.io.FileNotFoundException: d:\\temp\\2\\tmp8sf4da (The > process cannot access the file because it is being used by another > process)\r\n\tat > org.apache.cassandra.stress.StressProfile.load(StressProfile.java:574)\r\n\tat > > org.apache.cassandra.stress.settings.SettingsCommandUser.<init>(SettingsCommandUser.java:58)\r\n\tat > > org.apache.cassandra.stress.settings.SettingsCommandUser.build(SettingsCommandUser.java:127)\r\n\tat > > org.apache.cassandra.stress.settings.SettingsCommand.get(SettingsCommand.java:195)\r\n\tat > > org.apache.cassandra.stress.settings.StressSettings.get(StressSettings.java:249)\r\n\tat > > org.apache.cassandra.stress.settings.StressSettings.parse(StressSettings.java:220)\r\n\tat > org.apache.cassandra.stress.Stress.main(Stress.java:63)\r\nCaused by: > java.io.FileNotFoundException: d:\\temp\\2\\tmp8sf4da (The process cannot > access the file because it is being used by another process)\r\n\tat > java.io.FileInputStream.open0(Native Method)\r\n\tat > java.io.FileInputStream.open(FileInputStream.java:195)\r\n\tat > java.io.FileInputStream.<init>(FileInputStream.java:138)\r\n\tat > java.io.FileInputStream.<init>(FileInputStream.java:93)\r\n\tat > sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)\r\n\tat > > sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)\r\n\tat > java.net.URL.openStream(URL.java:1038)\r\n\tat > org.apache.cassandra.stress.StressProfile.load(StressProfile.java:560)\r\n\t... > 6 more\r\n\n-------------------- >> begin captured logging << > --------------------\ndtest: DEBUG: cluster ccm directory: > d:\\temp\\2\\dtest-wsze0r\ndtest: DEBUG: Done setting configuration > options:\n{ \'initial_token\': None,\n \'num_tokens\': \'32\',\n > \'phi_convict_threshold\': 5,\n \'start_rpc\': > \'true\'}\n--------------------- >> end captured logging << > ---------------------' > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)