ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Shutak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1559) Need to improve tests, javadoc and documentation of UriDeploymentHttpScanner.
Date Tue, 29 Sep 2015 13:51:04 GMT

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

Artem Shutak commented on IGNITE-1559:
--------------------------------------

In process of improvement javadocs for UriDeploymentSpi I've found that "classes"-protocol
currently not supported. So, I will remove this part from javadoc.

Checked with
{code}
deploymentSpi.setUriList(Arrays.asList("classes://freq=5000@localhost/c:/Program files/ignite/deployment"));
{code}

I've got next exception:
{noformat}
Exception in thread "main" class org.apache.ignite.IgniteException: Failed to start manager:
GridManagerAdapter [enabled=true, name=org.apache.ignite.internal.managers.deployment.GridDeploymentManager]
	at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:881)
	at org.apache.ignite.Ignition.start(Ignition.java:324)
	at org.apache.ignite.TmpUriDeploymentTest.main(TmpUriDeploymentTest.java:37)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start manager: GridManagerAdapter
[enabled=true, name=org.apache.ignite.internal.managers.deployment.GridDeploymentManager]
	at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1488)
	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:856)
	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1617)
	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1484)
	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:965)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:526)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:507)
	at org.apache.ignite.Ignition.start(Ignition.java:321)
	... 1 more
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start SPI: UriDeploymentSpi
[tmpDirPath=/tmp, deployTmpDirPath=/tmp/gg.uri.deployment.tmp/b2bf7e0f-efa2-47e6-9c56-57a2ed44b27c,
checkMd5=false, unitComp=org.apache.ignite.spi.deployment.uri.UriDeploymentSpi$LastTimeUnitDescriptorComparator@434ce06a,
encodeUri=true, firstScanCntr=0, lsnr=null, delayOnNewOrUpdatedFile=false]
	at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:255)
	at org.apache.ignite.internal.managers.deployment.GridDeploymentManager.start(GridDeploymentManager.java:101)
	at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1485)
	... 8 more
Caused by: class org.apache.ignite.spi.IgniteSpiException: Unsupported URI (please configure
appropriate scanner): classes://freq=5000@localhost/c:/Program%20files/ignite/deployment
	at org.apache.ignite.spi.deployment.uri.UriDeploymentSpi.spiStart(UriDeploymentSpi.java:630)
	at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:252)
	... 10 more
{noformat}

> Need to improve tests, javadoc and documentation of UriDeploymentHttpScanner.
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-1559
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1559
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Artem Shutak
>            Assignee: Artem Shutak
>             Fix For: ignite-1.5
>
>
> Need to improve tests, javadoc and documentation of UriDeploymentHttpScanner. It's not
possible to understand from current javadoc of UriDeploymentHttpScanner how it works.
> There's only one simple test in GridHttpDeploymentSelfTest.



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

Mime
View raw message