Jeremy McMillan created IGNITE-17985:
----------------------------------------

             Summary: intermittent failure: long pathname prevents server node 
start on Windows 11 with working IPv6 network
                 Key: IGNITE-17985
                 URL: https://issues.apache.org/jira/browse/IGNITE-17985
             Project: Ignite
          Issue Type: Bug
          Components: data structures
    Affects Versions: 2.14
         Environment: Windows 11

OpenJDK 17

Apache Ignite 2.14
            Reporter: Jeremy McMillan


Depending on the IP addresses assigned to nodes before startup, Ignite default 
behavior constructs a consistent ID from a tuple of IP addresses and ports 
identifying the node, which will result in a failure to create local page cache 
folder using the consistent ID as a pathname, non-deterministically preventing 
node startup.

example log message:

{{[08:52:17] Ignite node stopped wih ERRORS [uptime=00:00:02.143]}}
{{class org.apache.ignite.IgniteException: Failed to start processor: 
GridProcessorAdapter []}}
{{        at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1145)}}
{{        at org.apache.ignite.Ignition.start(Ignition.java:356)}}
{{        at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)}}
{{Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start 
processor: GridProcessorAdapter []}}
{{        at 
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1787)}}
{{        at 
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1066)}}
{{        at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1757)}}
{{        at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1679)}}
{{        at 
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1121)}}
{{        at 
org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1015)}}
{{        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:921)}}
{{        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)}}
{{        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:710)}}
{{        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:679)}}
{{        at org.apache.ignite.Ignition.start(Ignition.java:353)}}
{{        ... 1 more}}
{{Caused by: class org.apache.ignite.IgniteCheckedException: Failed to create 
page store work directory: 
C:\Users\jt\AppData\Local\IgniteCluster\node0\db\0_0_0_0_0_0_0_1_10_0_1_84_127_0_0_1_2600_1700_5650_3cff_481f_54f_adb9_437_2600_1700_5650_3cff_8188_5e65_f1fc_237_2600_1700_5650_3cff_84a4_9fdf_feb2_b01f_2600_1700_5650_3cff_9194_cd0d_813f_2e71_2600_1700_5650_3cff_a042_5e6f_9b0b_492b_2600_1700_5650_3cff_bcc4_3dca_bcd5_41cb_47500}}
{{        at 
org.apache.ignite.internal.util.IgniteUtils.ensureDirectory(IgniteUtils.java:9971)}}
{{        at 
org.apache.ignite.internal.processors.cache.GridLocalConfigManager.<init>(GridLocalConfigManager.java:127)}}
{{        at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(GridCacheProcessor.java:618)}}
{{        at 
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1784)}}
{{        ... 11 more}}
{{Failed to start grid: Failed to start processor: GridProcessorAdapter []}}

Bad workaround: reboot the node. With good luck, the IP addresses will 
normalize to a shorter string, and the node will start. With bad luck, the IP 
addresses will be too long: try again.

Acceptable workaround: override the nodes' consistent IDs by [setting the 
property or environment 
variable|https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteSystemProperties.html#IGNITE_OVERRIDE_CONSISTENT_ID]
 at startup time to an appropriate value.



Factors:
 * #IGNITE-9995
 * #IGNITE-2416



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to