Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D4F210388 for ; Wed, 11 Dec 2013 01:50:08 +0000 (UTC) Received: (qmail 80994 invoked by uid 500); 11 Dec 2013 01:50:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 80932 invoked by uid 500); 11 Dec 2013 01:50:07 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 80923 invoked by uid 500); 11 Dec 2013 01:50:07 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 80920 invoked by uid 99); 11 Dec 2013 01:50:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 01:50:07 +0000 Date: Wed, 11 Dec 2013 01:50:07 +0000 (UTC) From: "shanyu zhao (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5975) [WebHCat] templeton mapreduce job failed if provide "define" parameters 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/HIVE-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] shanyu zhao updated HIVE-5975: ------------------------------ Attachment: hive-5975.2.patch Adding e2e tests to verify this problem. > [WebHCat] templeton mapreduce job failed if provide "define" parameters > ----------------------------------------------------------------------- > > Key: HIVE-5975 > URL: https://issues.apache.org/jira/browse/HIVE-5975 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.12.0, 0.13.0 > Reporter: shanyu zhao > Assignee: shanyu zhao > Attachments: hive-5975.2.patch, hive-5975.patch > > > Trying to submit a mapreduce job through templeton failed: > curl -k -u user:pass -d user.name=user -d define=JobName=MRPiJob -d class=pi -d arg=16 -d arg=100 -d jar="hadoop-mapreduce-examples.jar" https://xxx/templeton/v1/mapreduce/jar > The error message is: > "Usage: org.apache.hadoop.examples.QuasiMonteCarlo > Generic options supported are > -conf specify an application configuration file > -D use value for given property > -fs specify a namenode > -jt specify a job tracker > -files specify comma separated files to be copied to the map reduce cluster > -libjars specify comma separated jar files to include in the classpath. > -archives specify comma separated archives to be unarchived on the compute machines. > The general command line syntax is > bin/hadoop command [genericOptions] [commandOptions] > templeton: job failed with exit code 2" > Note that if we remove the "define" parameter it works fine. -- This message was sent by Atlassian JIRA (v6.1.4#6159)