2017-06-27 6 views
1
<!-- Configure internal thread pool. --> 
<!--property name="publicThreadPoolSize" value="64"/--> 

<!-- Configure system thread pool. --> 
<!--property name="systemThreadPoolSize" value="24"/--> 

私が試した2つの構成はここにあります。どのように私は点火でパブリックとシステムのスレッドプールサイズを設定することができます

エラー

Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: 
Invalid property 'systemThreadPoolSize' of bean class [org.apache.ignite.configuration.CacheConfiguration]: 
Bean property 'systemThreadPoolSize' is not writable or has an invalid setter method. Does the parameter 
type of the setter match the return type of the getter? 

Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: 
Invalid property 'publicThreadPoolSize' of bean class [org.apache.ignite.configuration.CacheConfiguration]: 
Bean property 'publicThreadPoolSize' is not writable or has an invalid setter method. Does the parameter 
type of the setter match the return type of the getter? 

私はここの設定をしようとしています。 https://apacheignite-cpp.readme.io/v2.0/docs/performance-tips それらのほとんどは間違っているようです。 FULL_SYNCモードでのパフォーマンスチューニングのxml構成のプロパティ名をどこで見つけることができますか。

+0

あなたの完全なのIgnite設定ファイルを共有してください[OK]を –

答えて

2

あなたは間違った場所に置き、あなたはキャッシュの設定の中に置く、それが発火構成の一部である必要がありながら:

<bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> 

.... 

    <property name="publicThreadPoolSize" value="100"/> 
    <property name="systemThreadPoolSize" value="100"/> 

.... 

    <property name="cacheConfiguration"> 
     <list> 
      <!-- NOT HERE --> 
     </list> 
    </property> 
</bean> 
+0

私は今発火の下に置かれています構成。私のプロセスのスレッド数はまだ増えていません。 48.スレッドプールのサイズを変更するための他の設定があります。 –

+0

Igniteは、必要なときに多くのスレッドを作成します。何百ものコンピューティングタスクを送信しようとすると、それらのタスクを実行するためにパブリックプールが使用され、起動すると、送信されたすべての計算タスクを処理するためにサイズが大きくなります。 – Michael

関連する問題