[ https://issues.apache.org/jira/browse/IGNITE-4053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15575768#comment-15575768 ]
ASF GitHub Bot commented on IGNITE-4053: ---------------------------------------- GitHub user tledkov-gridgain opened a pull request: https://github.com/apache/ignite/pull/1160 IGNITE-4053 Task error is always printed to the console You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-4053 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/1160.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1160 ---- commit a4c63ae113931615e940ada2411ebce32dba5db8 Author: iveselovskiy <iveselovs...@gridgain.com> Date: 2016-09-30T07:45:13Z IGNITE-3998: IGFS: Enabled IgfsAbstractSelfTest.testCreateConsistencyMultithreaded. This closes #1129. commit a12298c0baf19407f3110ba3c4f0aab88b67946d Author: Igor Sapego <isap...@gridgain.com> Date: 2016-09-30T08:00:51Z IGNITE-3868: ODBC: Fixed connection string parsing. This closes #1051. commit 5e7ef8644ad824b87d4797e59133eb783ff8b098 Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-03T07:37:25Z Merge branch 'ignite-1.6.9' into ignite-1.6.10 commit 59b46d3e6ea073d054ca2262d676b055a74bbb1f Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-03T07:40:04Z IGNITE-2881: Fixed SPI queries. commit 0b66d2d7b695cf370a4b8a717844ad67742c6090 Author: sboikov <sboi...@gridgain.com> Date: 2016-10-03T09:04:03Z ignite-3601 Do not check version on commit for read-only serializable transactions. commit 9f211e413332931f0fb1190744ddd7c7f38fd213 Author: tledkov-gridgain <tled...@gridgain.com> Date: 2016-10-03T09:26:12Z IGNITE-3645: IGFS: Local secondary: Implemented update() operation. This closes #1003. commit fa698d6fcfde0006423ef009337dbef58ac62515 Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-03T10:33:12Z Fixed TcpDiscoverySnapshotHistoryTest intermittent failures caused by multicast IP finder. commit bba019fd5076412ca43c10a32fd300b6031ccd0b Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-03T14:25:20Z IGNITE-3980: Processed failing tests in query suites. This closes #1137. commit a92f20b5cc75e6b80b2731da0192723526b0c1dc Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-04T11:10:26Z IGNITE-3597: Removed static work directory. commit 23461b8d33922772ef8e7217e9e87b3f3b0b37b1 Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-06T07:14:59Z IGNITE-4001: Timeouts for threads in Ignite pools. This closes #1130. commit b94b0aeae4c42b1d35128c6b1de97e3fa318d497 Author: tledkov-gridgain <tled...@gridgain.com> Date: 2016-10-06T07:22:50Z IGNITE-3163 IGFS: Added working directory support to IgniteHadoopIgfsSecondaryFileSystem. This closes #1030. This closes #1058. This closes #1132. commit e6317e01fa8a0de03e15dcdd84a575c6b06ce701 Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-06T09:03:48Z IGNITE-3593 .NET: IgniteConfiguration.WorkDirectory has no effect. This closes #903. This closes #1145. commit 952be8b995050b34379006dd6e739da3fe3b49e3 Author: Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com> Date: 2016-10-07T12:00:09Z Squashed commit of the following: commit 566881b695b8bc00e618fe9a9b4c86a8fd563cc1 Author: sboikov <sboi...@gridgain.com> Date: Fri Oct 7 13:08:38 2016 +0300 minor commit 7fe88a1cb21f794ee55a176ab36d895cbf916528 Author: Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com> Date: Thu Oct 6 11:11:24 2016 +0300 ignite-update-notifier fix after review (cherry picked from commit a10d2ff) commit f2de749f958a3b18dc479f8a5517d7bf9362b933 Author: Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com> Date: Tue Oct 4 12:12:08 2016 +0300 ignite-2079-2 optimize import and change url path (cherry picked from commit 830a3cf) commit 0d1be85ad55b0aa91224690d6c112ae92e8bc0a9 Author: Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com> Date: Thu Sep 29 19:54:54 2016 +0300 update-notifier remove parse xml, now parse like properties (cherry picked from commit 9ecaa29) commit e43bca6fb4528a7fc0dcb804a74fca1c59d7468b Author: Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com> Date: Tue Sep 27 17:07:21 2016 +0300 remove dom parser (cherry picked from commit d1653b2) commit b9c776a8423471706ecb1dc6176b38f23e799077 Author: Anton Vinogradov <a...@apache.org> Date: 2016-10-10T08:52:57Z IGNITE-3235 Failed to initialize primitive boolean cache property of superclass commit f9a0676fad7fd6c23e3c91c10d7e0412ccb27c06 Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-11T07:23:01Z IGNITE-4041: Created separate processor for thread pools and refactored IO manager. This closes #1150. commit 9a6cfce659df40b0a4624f19fd91c217b74bafea Author: nikolay_tikhonov <ntikho...@gridgain.com> Date: 2016-10-11T10:59:57Z IGNITE-4014 Fixed "Transaction hangs if entry processor failed during serialization". This closes #1148. commit 1938a17b01fac1e08c30011180bbcc3ed7374d83 Author: Andrey V. Mashenkov <andrey.mashen...@gmail.com> Date: 2016-10-11T11:50:18Z IGNITE-3948: Fixed a bug causing TTL manager to continue tracking of evicted entries. This closes #1101. commit 60d27547dfc6bd27c6d39cbcc523d0d1e872a821 Author: vozerov-gridgain <voze...@gridgain.com> Date: 2016-10-11T11:51:00Z Merge remote-tracking branch 'upstream/ignite-1.6.10' into ignite-1.6.10 commit 359a392f1c53217c691c4c40762c51fd330666e2 Author: Valentin Kulichenko <valentin.kuliche...@gmail.com> Date: 2016-01-15T06:58:41Z Update notifier fixes (cherry picked from commit a5c85ca) commit 01ca6db70933fb7f50f161a80cde9647e68a3710 Author: dkarachentsev <dkarachent...@gridgain.com> Date: 2016-10-11T13:18:40Z Merge remote-tracking branch 'origin/ignite-1.6.10' into ignite-1.6.10 commit 0659bebe04dc9c0b0a163bc95061519c553e678c Author: Andrey V. Mashenkov <andrey.mashen...@gmail.com> Date: 2016-10-12T11:49:36Z IGNITE-3972: Fixed a bug causing continuous queries to be lost for ATOMIC cache when key's primary node leaves topology. This closes #1133. commit f597aff1bdf65d3d430cf85c9932391a72c2d7dc Author: Andrey V. Mashenkov <andrey.mashen...@gmail.com> Date: 2016-10-12T12:44:08Z IGNITE-3875: Added separate thread pool for data streamer. This closes #1067. commit 2ab094e08373dc6667af44d48a38b4f044953a79 Author: tledkov-gridgain <tled...@gridgain.com> Date: 2016-10-12T13:48:51Z IGNITE-2355: Hadoop: added ability to configure multiple job tracker addresses. This closes #1153. commit eaf8ae246cc799c1353332fcac05cb3a8efab02c Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2016-10-12T16:57:09Z IGNITE-4034 Get rid of specialized methods in platform targets commit b1ec58f716ece3a5866dd654ebc707bef67caf57 Author: Alexey Kuznetsov <akuznet...@apache.org> Date: 2016-10-13T05:58:22Z IGNITE-4066 Fixed NPE. commit 447e07c0bb5af75bce6a14612606904e4e3d9705 Author: Anton Vinogradov <a...@apache.org> Date: 2016-10-14T08:40:41Z IGNITE-1924 Incomplete marshaller cache rebalancing causes Grid hangs under SSL commit 96701a811fc7dc3f2985dfed8f471f4193720f1f Author: tledkov-gridgain <tled...@gridgain.com> Date: 2016-10-14T16:20:32Z IGNITE-4053 Task error is always printed to the console. ---- > Task error is always printed to the console. > -------------------------------------------- > > Key: IGNITE-4053 > URL: https://issues.apache.org/jira/browse/IGNITE-4053 > Project: Ignite > Issue Type: Bug > Components: compute > Affects Versions: 1.7 > Reporter: Vladimir Ozerov > Assignee: Taras Ledkov > Priority: Minor > Fix For: 1.8 > > > Currently if something wrong happens to the task, it prints error to the > console: > {code} > java.lang.Throwable.printStackTrace(java.lang.Throwable$PrintStreamOrWriter) > (line: 653) > java.lang.Throwable.printStackTrace(java.io.PrintStream) (line: 643) > org.apache.ignite.internal.util.IgniteUtils.error(org.apache.ignite.IgniteLogger, > java.lang.Object, java.lang.Object, java.lang.Throwable) (line: 4171) > org.apache.ignite.internal.util.IgniteUtils.error(org.apache.ignite.IgniteLogger, > java.lang.Object, java.lang.Throwable) (line: 4189) > org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(org.apache.ignite.lang.IgniteInClosure) > (line: 269) > org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListeners() > (line: 250) > org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(java.lang.Object, > java.lang.Throwable, boolean) (line: 380) > org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(java.lang.Object, > java.lang.Throwable) > org.apache.ignite.internal.processors.task.GridTaskWorker.finishTask(java.lang.Object, > java.lang.Throwable, boolean) (line: 1475) > org.apache.ignite.internal.processors.task.GridTaskWorker.finishTask(java.lang.Object, > java.lang.Throwable) (line: 1443) > org.apache.ignite.internal.processors.task.GridTaskWorker$4.apply() (line: > 988) > org.apache.ignite.internal.processors.task.GridTaskWorker$4.apply() > org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(java.lang.ClassLoader, > org.apache.ignite.lang.IgniteOutClosure) (line: 6516) > org.apache.ignite.internal.processors.task.GridTaskWorker.result(org.apache.ignite.compute.ComputeJobResult, > java.util.List) > org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(org.apache.ignite.internal.GridJobExecuteResponse) > (line: 810) > {code} > This happens because there is no logger in the future, hence error is > unconditionally printed to the console. > We need to fix that. Probably we can inject logger into the task future. -- This message was sent by Atlassian JIRA (v6.3.4#6332)