ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agustin <am...@qualityobjects.com>
Subject Re: network segmentation
Date Fri, 30 Oct 2015 11:26:55 GMT
Hi Denis, 

This is my dummy implementation of SegmentationResolver interface:


/@Component("dummySegmentationResolver")
public class DummySegmentationResolver implements SegmentationResolver
{
    /**
	 * 
	 */
    private static final long serialVersionUID = 1L;

	public boolean isValidSegment() throws IgniteCheckedException
	{	
		return false;
	}
}
/
//assign to IgniteConfiguration segmentationResolvers property

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

	....

	<property name="segmentationResolvers">
		<list>
			<ref bean="dummySegmentationResolver"/>
		</list>
	</property>
		...
</bean>/


I've attached the complete log, but the more relevant lines are the
following:

Line 577: DEBUG | 30-oct-2015 11:45:16.038 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Grid
runnable started: disco-net-seg-chk-worker
Line 6221: DEBUG | 30-oct-2015 11:45:18.066 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Segment
has been checked [requested=false, valid=true]
Line 6329: DEBUG | 30-oct-2015 11:45:20.078 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Skipping
segment check as it has not been requested and it is not time to check.
Line 6339: DEBUG | 30-oct-2015 11:45:22.081 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Skipping
segment check as it has not been requested and it is not time to check.
Line 6344: DEBUG | 30-oct-2015 11:45:24.094 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Skipping
segment check as it has not been requested and it is not time to check.
Line 6349: DEBUG | 30-oct-2015 11:45:26.110 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Skipping
segment check as it has not been requested and it is not time to check.
Line 6359: DEBUG | 30-oct-2015 11:45:28.122 |  |
disco-net-seg-chk-worker-#45%blackoutGrid% | GridDiscoveryManager - Segment
has been checked [requested=false, valid=true]
....
	

	
I take a look at the source code and I think that this feature is disabled
because I find the following:

//**
 * No-op implementation for {@link GridSegmentationProcessor}.
 */
public class GridOsSegmentationProcessor extends GridProcessorAdapter
implements GridSegmentationProcessor {
    /**
     * @param ctx Kernal context.
     */
    public GridOsSegmentationProcessor(GridKernalContext ctx) {
        super(ctx);
    }

    */** {@inheritDoc} */
    @Override public boolean isValidSegment() {
        return true; log-ignite.txt
<http://apache-ignite-users.70518.x6.nabble.com/file/n1776/log-ignite.txt>  
    }*
}/

am I right?

is there a way to overcome this limitation, or is only available in
enterprise edition?


Thank you.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/network-segmentation-tp1772p1776.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message