Search in sources :

Example 21 with IgfsIpcEndpointConfiguration

use of org.apache.ignite.igfs.IgfsIpcEndpointConfiguration in project ignite by apache.

the class IgfsProcessorValidationSelfTest method testInvalidEndpointThreadCount.

/**
     * @throws Exception If failed.
     */
public void testInvalidEndpointThreadCount() throws Exception {
    final String failMsg = "IGFS endpoint thread count must be positive";
    final String igfsCfgName = "igfs-cfg";
    final IgfsIpcEndpointConfiguration igfsEndpointCfg = new IgfsIpcEndpointConfiguration();
    igfsEndpointCfg.setThreadCount(0);
    g1IgfsCfg1.setName(igfsCfgName);
    g1IgfsCfg1.setIpcEndpointConfiguration(igfsEndpointCfg);
    checkGridStartFails(g1Cfg, failMsg, true);
}
Also used : IgfsIpcEndpointConfiguration(org.apache.ignite.igfs.IgfsIpcEndpointConfiguration)

Aggregations

IgfsIpcEndpointConfiguration (org.apache.ignite.igfs.IgfsIpcEndpointConfiguration)21 FileSystemConfiguration (org.apache.ignite.configuration.FileSystemConfiguration)12 IgniteConfiguration (org.apache.ignite.configuration.IgniteConfiguration)9 TcpDiscoverySpi (org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi)8 CacheConfiguration (org.apache.ignite.configuration.CacheConfiguration)7 IgfsGroupDataBlocksKeyMapper (org.apache.ignite.igfs.IgfsGroupDataBlocksKeyMapper)6 TcpDiscoveryVmIpFinder (org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder)5 HashMap (java.util.HashMap)2 Ignite (org.apache.ignite.Ignite)2 IgfsMode (org.apache.ignite.igfs.IgfsMode)2 TcpCommunicationSpi (org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi)2 HashSet (java.util.HashSet)1 Map (java.util.Map)1 IgniteCheckedException (org.apache.ignite.IgniteCheckedException)1 IgfsEx (org.apache.ignite.internal.processors.igfs.IgfsEx)1 IgniteThread (org.apache.ignite.thread.IgniteThread)1