You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (Jira)" <ji...@apache.org> on 2021/04/09 11:03:00 UTC

[jira] [Commented] (IGNITE-14346) Implement Azure Blob Storage Based IP Finder

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

Ilya Kasnacheev commented on IGNITE-14346:
------------------------------------------

I have tried the fresh build of the PR, now the dependencies issue seems resolved, but there are at least two new issues:

If IPv6 is active, I get the following error:
{code}
class org.apache.ignite.IgniteException: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 0 in: "lo"
        at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1098)
        at org.apache.ignite.Ignition.start(Ignition.java:356)
        at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:367)
Caused by: class org.apache.ignite.IgniteCheckedException: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 0 in: "lo"
        at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1454)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2112)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1758)
        at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1143)
        at org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1061)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:947)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:846)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:716)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:685)
        at org.apache.ignite.Ignition.start(Ignition.java:353)
        ... 1 more
Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 0 in: "lo"
        at java.base/java.net.URLDecoder.decode(URLDecoder.java:232)
        at java.base/java.net.URLDecoder.decode(URLDecoder.java:142)
        at com.azure.storage.common.Utility.decode(Utility.java:91)
        at com.azure.storage.common.Utility.urlDecode(Utility.java:82)
        at com.azure.storage.blob.BlobContainerAsyncClient.getBlobAsyncClient(BlobContainerAsyncClient.java:144)
        at com.azure.storage.blob.BlobContainerAsyncClient.getBlobAsyncClient(BlobContainerAsyncClient.java:125)
        at com.azure.storage.blob.BlobContainerClient.getBlobClient(BlobContainerClient.java:76)
        at org.apache.ignite.spi.discovery.tcp.ipfinder.azure.TcpDiscoveryAzureBlobStoreIpFinder.registerAddresses(TcpDiscoveryAzureBlobStoreIpFinder.java:140)
        at org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinderAdapter.initializeLocalAddresses(TcpDiscoveryIpFinderAdapter.java:66)
        at org.apache.ignite.spi.discovery.tcp.TcpDiscoveryImpl.registerLocalNodeAddress(TcpDiscoveryImpl.java:401)
        at org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:457)
        at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:2166)
        at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:278)
        at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:981)
        at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1965)
        at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1323)
        ... 10 more
Failed to start grid: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 0 in: "lo"
{code}

I believe this is because IPv6 binding addresses have %interface prepended to them (::1%localhost, ::1%eth0), it looks like they need some extra escaping in your use case.

When IPv6 is on, azure discovery will start all right but cluster will not assemble - neither of my two nodes will discover itself and start. Maybe I'm doing something wrong? My Azure container has some entries (see attach) but cluster does not come online in a few minutes. When using static discovery, the cluster is up and running instantly.

Please advise.

> Implement Azure Blob Storage Based IP Finder
> --------------------------------------------
>
>                 Key: IGNITE-14346
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14346
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Assignee: Atri Sharma
>            Priority: Major
>              Labels: ReviewNeeded
>         Attachments: Screenshot 2021-03-23 at 8.42.31 PM.png, Screenshot 2021-03-23 at 8.43.31 PM.png, Screenshot 2021-03-23 at 8.44.11 PM.png, Screenshot 2021-03-23 at 8.45.05 PM.png
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)