I started using the latest master brannch in local testing of Apache Ignite
and ran into the following exception (note IP addresses and path elements
replaced redacted with asterisks to prevent possible security concerns):
Caused by: org.apache.ignite.IgniteCheckedException: Failed to create page
store work directory:
/home/art/****/******/*******/*******/POC/ignite/distributed-scheduling-poc/ignite/work/db/*_*_*_*_*_*_*_*_**_***_*_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_***_*_***_***_***_***_*_***_***_**_*_***_***_***_*_***_***_***_*_***_***_***_*_***_***_***_*_***_***_**_*_***_***_**_*_****_****_***_****_*_*_*_*_**_************_*****
Using strace, found the following underlying cause:
mkdir("/home/art/****/******/*******/*******/POC/ignite/distributed-scheduling-poc/ignite/work/db/*_*_*_*_*_*_*_*_**_***_*_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_**_*_*_***_***_*_***_***_***_***_*_***_***_**_*_***_***_***_*_***_***_***_*_***_***_***_*_***_***_***_*_***_***_**_*_***_***_**_*_****_****_***_****_*_*_*_*_**_************_*****",
0777) = -1 ENAMETOOLONG (File name too long)
Debugging through the code, I *THINK* the following change may be involved:
ticket https://issues.apache.org/jira/browse/IGNITE-16938
commit
https://github.com/apache/ignite/commit/cdf8200fa02da8e88b6ca5a9fd9e89bb28f95c62
It appears the path name includes all of the IP address of all the
interfaces on the system, and since this system is running docker and
kubernetes, the number of those interfaces is ... large.
I'll go back to a released version for my DEV purposes for now.
Feedback is welcome.
Art