Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2741CE4A7 for ; Fri, 4 Jan 2013 14:41:40 +0000 (UTC) Received: (qmail 92772 invoked by uid 500); 4 Jan 2013 14:41:35 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 92585 invoked by uid 500); 4 Jan 2013 14:41:34 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 92485 invoked by uid 99); 4 Jan 2013 14:41:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2013 14:41:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of krishnanjrao@gmail.com designates 209.85.215.41 as permitted sender) Received: from [209.85.215.41] (HELO mail-la0-f41.google.com) (209.85.215.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2013 14:41:27 +0000 Received: by mail-la0-f41.google.com with SMTP id em20so9878429lab.0 for ; Fri, 04 Jan 2013 06:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=AULUJwERMOQWp4wX+KI0Yu9BmmbUjp/61Vb3qSF86Jk=; b=LLGq1+dlOKDIg0Ge/68N1Fc4rrs2cEVAwFfVPMULCmLwYvoLbzKadEKfRPTLAfOWRR BFQJy0NNUAsEca58vLecc0VIUWdEM6sFFPnSvIkijJ3MgMQYTpqZ4cuRAnxGT/hR2JQZ BYevoEYhsLAza4pzso/EI5JyNXA/cZ5XSYujzIFGzjllAUxUPZnPNTR9hfCOQefTy6yB JrjGsMWGJqQHbPabAGy/W/x76Jr59X6o9trVNANs5Xpp1v5Ee4R01KCteHwtbD6dn74v fKE/CAkB+cx6+XGvcCYIlS3XMTQ9AfN7SAyo/tvFZhT/ECJzU8rQbf9lKpVXt+FfSvXO A9NA== Received: by 10.112.83.133 with SMTP id q5mr21528414lby.40.1357310466193; Fri, 04 Jan 2013 06:41:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.27.227 with HTTP; Fri, 4 Jan 2013 06:40:46 -0800 (PST) From: Krishna Rao Date: Fri, 4 Jan 2013 14:40:46 +0000 Message-ID: Subject: Possible to run an application jar as a hadoop daemon? To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d04016c2d2ff87504d27778f0 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04016c2d2ff87504d27778f0 Content-Type: text/plain; charset=ISO-8859-1 Hi al, I have a java application jar that converts some files and writes directly into hdfs. If I want to run the jar I need to run it using "hadoop jar ", so that it can access HDFS (that is running "java -jar results in a HDFS error"). Is it possible to run an jar as a hadoop daemon? Cheers, Krishna --f46d04016c2d2ff87504d27778f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi al,

I have a java application jar that converts some = files and writes directly into hdfs.

If I want to = run the jar I need to run it using "hadoop jar <application jar>= ", so that it can access HDFS (that is running "java -jar <app= lication jar> results in a HDFS error").

Is it possible to run an jar as a hadoop daemon?
<= div>
Cheers,

Krishna
--f46d04016c2d2ff87504d27778f0--