<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 23, 2017 at 1:39 AM, Christopher Schmidt <span dir="ltr">&lt;<a href="mailto:fakod666@gmail.com" target="_blank">fakod666@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK, seems that this works now.<div><br></div><div>A couple of questions:</div><div>- What do you think, are all these options necessary for Kafka?</div></div></blockquote><div><br></div><div>I am not entirely certain what subset of options will make it work as I do not understand the nature of failure with  Kafka and the default gluster configuration. It certainly needs further analysis to identify the list of options necessary. Would it be possible for you to enable one option after the other and determine the configuration that ?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>- You wrote that there have to be kind of <span style="color:rgb(33,33,33);font-size:13px">application profiles. So to find out, which set of options work is currently a matter of testing (and hope)? Or are there any experiences for MongoDB / ProstgreSQL / Zookeeper etc.?</span></div></div></blockquote><div><br></div><div>Application profiles are work in progress. We have a few that are focused on use cases like VM storage, block storage etc. at the moment.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font color="#212121">- I am using Heketi and Dynamik Storage Provisioning together with Kubernetes. Can I set this volume options somehow by default or by volume plugin?</font></div></div></blockquote><div><br></div><div><br></div><div>Adding Raghavendra and Michael to help address this query.</div><div><br></div><div>-Vijay</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font color="#212121"><br></font></div><div><font color="#212121">Thanks for you help... really appreciated.. Christopher<br></font><div><div class="h5"><br><div class="gmail_quote"><div dir="ltr">Vijay Bellur &lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt; schrieb am Mo., 22. Mai 2017 um 16:41 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like a problem with caching. Can you please try by disabling all performance translators? The following configuration commands would disable performance translators in the gluster client stack:<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.quick-read off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.io-cache off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.write-behind off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.stat-prefetch off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.read-ahead off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.readdir-ahead off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.open-behind off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">gluster volume set &lt;volname&gt; performance.client-io-threads off</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Thanks,</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Vijay</span></div><div><pre class="m_939187346170608779m_7350984224153323897gmail-bz_comment_text m_939187346170608779m_7350984224153323897gmail-bz_wrap_comment_text" id="m_939187346170608779m_7350984224153323897gmail-comment_text_50" style="white-space:pre-wrap;word-wrap:break-word;width:50em;color:rgb(0,0,0)"><br></pre></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 22, 2017 at 9:46 AM, Christopher Schmidt <span dir="ltr">&lt;<a href="mailto:fakod666@gmail.com" target="_blank">fakod666@gmail.com</a>&gt;</span> wrote:<br></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>has anyone ever successfully deployed a Kafka (Cluster) on GlusterFS volumes?</div><div><br></div><div>I my case it&#39;s a Kafka Kubernetes-StatefulSet and a Heketi GlusterFS.</div><div>Needless to say that I am getting a lot of filesystem related exceptions like this one:</div><div><br></div><div>Failed to read `log header` from file channel `sun.nio.ch.FileChannelImpl@<wbr>67afa54a`. Expected to read 12 bytes, but reached end of file after reading 0 bytes. Started read from position 123065680.<br></div><div><br></div><div>I limited the amount of exceptions with the log.flush.interval.<wbr>messages=1 option, but not all...</div><div><br></div><div>best Christopher</div><div><br></div></div>
<br></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>
</blockquote></div></div></div></div></div>
</blockquote></div><br></div></div>