<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<div>
<p>Hi,</p>
<p><br>
</p>
<p>I am Menaka M. I am interested in participating in this round of Outreachy under Gluster. I am new to this open source world. Kindly help me with the following query.</p>
<p><br>
</p>
I have set up the Gluster development environment with two servers and one client. I am trying to run the basic bench test on the Gluster cluster from this
<a href="https://github.com/gluster/gbench/tree/master/bench-tests/bt-0000-0001" target="_blank">
GitHub repo</a>. I also have IOZone installed. While trying to run the provided script, i get the following error. I was trying to identify the cause of the error. Kindly help me with that.<br>
<br>
So, I learned more about IOZone and also the performance testing section in the Gluster docs. With that knowledge and to learn more, I have gone through the code and running iozone commands mentioned in the GlusterBench.py script individually.<br>
<br>
If I am asking a very basic thing, apologies. I will quickly learn things. <br>
<br>
Regards,<br>
Menaka M<br>
<br>
----------------------------------------------------------------------------------------------------------------------------------<br>
<br>
<div>python GlusterBench.py -s 64 -f 10000 -n 5 -v<br>
<br>
Number threads = 4<br>
Client list = HadoopSlave4<br>
<br>
Running IOZone with 64KB record size and 4 threads,&nbsp; Creating an 8 GB file with every thread.<br>
Running smallfile with 64KB files, creating 10000 files.<br>
Running squential IOZone tests, starting with sequential writes.<br>
<br>
About to gather sample --&gt; 0<br>
<br>
&nbsp;&nbsp; &nbsp;Iozone: Performance Test of File I/O<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version $Revision: 3.429 $<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Compiled for 64 bit mode.<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Build: linux-AMD64 <br>
<br>
&nbsp;&nbsp; &nbsp;Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Al Slater, Scott Rhine, Mike Wisner, Ken Goss<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --&gt; 1<br>
<br>
&nbsp;&nbsp; &nbsp;/* I removed the Iozone and Contributors header */<br>
&nbsp;&nbsp; &nbsp;<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --&gt; 2<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --&gt; 3<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
Cleaning up files.<br>
<br>
About to gather sample --&gt; 4<br>
<br>
Adding the current sample to the list: None<br>
Dropping cache<br>
/root/sync-drop-caches.sh: 13: /root/sync-drop-caches.sh: Bad substitution<br>
No cleanup on 4 iteration.<br>
<br>
The results for sequential writes are: [None, None, None, None, None]<br>
<br>
Traceback (most recent call last):<br>
&nbsp; File &quot;GlusterBench.py&quot;, line 255, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; main()<br>
&nbsp; File &quot;GlusterBench.py&quot;, line 76, in main<br>
&nbsp;&nbsp;&nbsp; average_seq_write = find_average(result1)<br>
&nbsp; File &quot;GlusterBench.py&quot;, line 250, in find_average<br>
&nbsp;&nbsp;&nbsp; total = total &#43; int(samples_in[x])<br>
TypeError: int() argument must be a string or a number, not 'NoneType'<br>
</div>
<br>
</div>
-----------------------------------------------------------------------------------------------------------------------------------------<br>
<p></p>
</div>
</body>
</html>