Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 829EE18236 for ; Mon, 11 Jan 2016 15:04:41 +0000 (UTC) Received: (qmail 37400 invoked by uid 500); 11 Jan 2016 15:04:40 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 37195 invoked by uid 500); 11 Jan 2016 15:04:40 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 37031 invoked by uid 99); 11 Jan 2016 15:04:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 15:04:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E401C2C1F60 for ; Mon, 11 Jan 2016 15:04:39 +0000 (UTC) Date: Mon, 11 Jan 2016 15:04:39 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-2101) NPE when trying to submit Hadoop job to a node where Hadoop module is not loaded. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-2101: ------------------------------------ Assignee: Ivan Veselovsky > NPE when trying to submit Hadoop job to a node where Hadoop module is not loaded. > --------------------------------------------------------------------------------- > > Key: IGNITE-2101 > URL: https://issues.apache.org/jira/browse/IGNITE-2101 > Project: Ignite > Issue Type: Bug > Components: hadoop > Affects Versions: ignite-1.4 > Reporter: Vladimir Ozerov > Assignee: Ivan Veselovsky > Priority: Critical > Fix For: 1.6 > > > See http://apache-ignite-users.70518.x6.nabble.com/NPE-issue-with-trying-to-submit-Hadoop-MapReduce-td2146.html > When Hadoop module is not loaded, HadoopNoopProcessor is started on the node. And it's method nextJobId() returns null. This null is then propagated to the client and NPE is raised. There is no way for users to underastand what is wrong. > Solution should be fairly simple: just throw an exception with sensible message from HadoopNoopProcessor.nextJobId() method. It should be propagated smoothly to the client. > Also we need to add tests for this scenario. -- This message was sent by Atlassian JIRA (v6.3.4#6332)