ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Shtykh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-2416) TcpDiscoverySharedFsIpFinder doesn't work with IPv6 addresses
Date Fri, 19 Feb 2016 01:04:18 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151610#comment-15151610
] 

Roman Shtykh edited comment on IGNITE-2416 at 2/19/16 1:03 AM:
---------------------------------------------------------------

It's a Windows issue. Adding
{code}
InetSocketAddress node3 = new InetSocketAddress(Inet6Address.getByName("2001:0db8:85a3:08d3:1319:47ff:fe3b:7fd3"),
1002);
{code}
to {{TcpDiscoveryIpFinderAbstractSelfTest}} and runnig TcpDiscoverySharedFsIpFinderSelfTest
on Linux is ok.
Colons in file names on Windows are not allowed.


was (Author: roman_s):
It's a Windows issue. Adding
{code}
InetSocketAddress node3 = new InetSocketAddress(Inet6Address.getByName("2001:0db8:85a3:08d3:1319:47ff:fe3b:7fd3"),
1002);
{code}
to {{TcpDiscoveryIpFinderAbstractSelfTest}} and runnig TcpDiscoverySharedFsIpFinderSelfTest
on Linux is ok.
Columns in file names on Windows are not allowed.

> TcpDiscoverySharedFsIpFinder doesn't work with IPv6 addresses
> -------------------------------------------------------------
>
>                 Key: IGNITE-2416
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2416
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.5.0.final
>            Reporter: Denis Magda
>            Assignee: Roman Shtykh
>              Labels: important
>
> {{TcpDiscoverySharedFsIpFinder}} fails if there is IPv6 address in the list.
> {noformat}
> class org.apache.ignite.spi.IgniteSpiException: Failed to create file.
>  at org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.MyTcpDiscoverySharedFsIpFinder.registerAddresses(MyTcpDiscoverySharedFsIpFinder.java:25)
>  at org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinderAdapter.initializeLocalAddresses(TcpDiscoveryIpFinderAdapter.java:61)
>  at org.apache.ignite.spi.discovery.tcp.TcpDiscoveryImpl.registerLocalNodeAddress(TcpDiscoveryImpl.java:265)
>  at org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:311)
>  at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:1815)
>  at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:252)
>  at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:660)
>  at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1500)
>  at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:915)
>  at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1618)
>  at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1485)
>  at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:965)
>  at org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:892)
>  at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:784)
>  at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:705)
>  at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:576)
>  at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:546)
>  at org.apache.ignite.Ignition.start(Ignition.java:346)
>  at com.juliusbaer.markets.JBGridGainCommon.startGridGain(JBGridGainCommon.java:42)
>  at com.juliusbaer.markets.JBGridGainCommon.startGridGain(JBGridGainCommon.java:30)
>  at com.juliusbaer.markets.StartGridCommandLine.main(StartGridCommandLine.java:50)
> Caused by: java.io.IOException: The filename, directory name, or volume label syntax
is incorrect
>  at java.io.WinNTFileSystem.createFileExclusively(Native Method)
>  at java.io.File.createNewFile(Unknown Source)
>  at org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.MyTcpDiscoverySharedFsIpFinder.registerAddresses(MyTcpDiscoverySharedFsIpFinder.java:22)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message