<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Caringo%3A_EC_encoding</id>
	<title>Caringo: EC encoding - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Caringo%3A_EC_encoding"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Caringo:_EC_encoding&amp;action=history"/>
	<updated>2026-05-04T20:14:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Caringo:_EC_encoding&amp;diff=20081&amp;oldid=prev</id>
		<title>Matth: Created page with &quot;Error seen when trying to initgateway script:  [root@localhost bin]# ./initgateway Configuring logging from /etc/caringo/cloudgateway/logging.cfg Searching for admin context /...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Caringo:_EC_encoding&amp;diff=20081&amp;oldid=prev"/>
		<updated>2017-01-30T16:33:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Error seen when trying to initgateway script:  [root@localhost bin]# ./initgateway Configuring logging from /etc/caringo/cloudgateway/logging.cfg Searching for admin context /...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Error seen when trying to initgateway script:&lt;br /&gt;
&lt;br /&gt;
[root@localhost bin]# ./initgateway&lt;br /&gt;
Configuring logging from /etc/caringo/cloudgateway/logging.cfg&lt;br /&gt;
Searching for admin context //caringo-boston/...&lt;br /&gt;
Admin context //caringo-boston/ not found, created&lt;br /&gt;
Searching for admin context //caringo-boston/_admin...&lt;br /&gt;
Admin context //caringo-boston/_admin not found, created&lt;br /&gt;
Unable to init multipart search mappings: &amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;CAStor Error&amp;lt;/h2&amp;gt;&amp;lt;br&amp;gt;Parallel writes must specify a valid EC encoding in the cluster, or on the request.&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Exception in thread &amp;quot;main&amp;quot; org.apache.commons.configuration.ConfigurationException: Unable to init multipart search mappings: &amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;CAStor Error&amp;lt;/h2&amp;gt;&amp;lt;br&amp;gt;Parallel writes must specify a valid EC encoding in the cluster, or on the request.&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
        at com.caringo.gateway.Main.establishMultipartMappings(Main.java:354)&lt;br /&gt;
        at com.caringo.gateway.Main.main(Main.java:330)&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
That error is expected thankfully , and should be an easy fix.&lt;br /&gt;
We use parallel write for s3 multipart uploads to the cluster which is a big performance improvement.&lt;br /&gt;
This requires a base ec level to be set for the cluster, sort of a min value that we can increase later.&lt;br /&gt;
 &lt;br /&gt;
First download and extract this tarball onto the csn.&lt;br /&gt;
https://support.cloud.caringo.com/tools/caringo-support-tools.tgz&lt;br /&gt;
 &lt;br /&gt;
in the directory dist that it creates you’ll find a script called snmp-castor-tool.sh&lt;br /&gt;
 &lt;br /&gt;
You can set an ec encoding level for the cluster using the commands below.&lt;br /&gt;
Setting the ec encoding&lt;br /&gt;
 &lt;br /&gt;
./snmp-castor-tool.sh -C policyECEncoding -V &amp;quot;2:1 anchored&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
Checking the ec encoding.&lt;br /&gt;
 &lt;br /&gt;
./snmp-castor-tool.sh -o policyECEncoding&lt;/div&gt;</summary>
		<author><name>Matth</name></author>
	</entry>
</feed>