[
https://issues.apache.org/jira/browse/IGNITE-8689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin updated IGNITE-8689:
----------------------------------------
Description: (was: Let's consider the following scenario:
# Start a new node (node 'A') and create a new partitioned cache that resides
on that node.
{code:java}
Ignite ignite = Ignition.start("examples/config/segmentation/node-A.xml");
IgniteCache<String, String> cache = ignite.getOrCreateCache(new
CacheConfiguration<String, String>()
.setName("default")
.setIndexedTypes(String.class, String.class)
.setNodeFilter(new NodeFilter())
);
public static class NodeFilter implements IgnitePredicate<ClusterNode> {
@Override public boolean apply(ClusterNode node) {
return node.attribute("test.attribute").equals("first-node");
}
}
{code}
# Start the second node (node 'B') witch a custom connector configuration
{code:java}
<property name="clientConnectorConfiguration">
<bean class="org.apache.ignite.configuration.ClientConnectorConfiguration">
<property name="host" value="127.0.0.1"/>
<property name="port" value="22222"/>
<property name="portRange" value="10"/>
</bean>
</property>{code}
# Execute simple SQL query using sqlline for example (JDBC driver should be
connected to node 'B')
{code:java}
./sqlline.sh --verbose=true -u jdbc:ignite:thin://127.0.0.1:22222
select * from UNKNOWN_TABLE;
{code}
{{In that case, IgniteH2Indexing}})
> SQL query execution may lead to NullPointerException during node stop.
> ----------------------------------------------------------------------
>
> Key: IGNITE-8689
> URL: https://issues.apache.org/jira/browse/IGNITE-8689
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.4
> Reporter: Vyacheslav Koptilin
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)