Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6D94100C6 for ; Sat, 30 Nov 2013 08:54:53 +0000 (UTC) Received: (qmail 64511 invoked by uid 500); 30 Nov 2013 08:54:42 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 64335 invoked by uid 500); 30 Nov 2013 08:54:35 -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 64328 invoked by uid 99); 30 Nov 2013 08:54:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2013 08:54:33 +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 (nike.apache.org: domain of unmeshabiju@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vb0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2013 08:54:27 +0000 Received: by mail-vb0-f44.google.com with SMTP id w20so7357120vbb.3 for ; Sat, 30 Nov 2013 00:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Pa0RLouu/H7aD+0YOk2x40rbLoE7/xm/hx7xVHuFZ58=; b=R7qM8kM1W4RByQIlnuQVJ/oofwH0lE83iU/JAZNhhz7RIhFyOSmS2OF9XxzFKO5vQR 01qtOOIyQXA09FgnloDxp2voEQzs4N3ZNcTDDh6Oos/5uTc2w3uBAV5ln9UbypzsQnG4 c/eRhmyje/DRP6Mj3BBc0L2sA7kcga+/1LktJRr/Ha1VL5RyRz39rk0DxVsRZGErs51f oNoQpC75eg9EdZpTgYzxKPByD1KZ0RmU7AeZ7ZXHbenT0waQalwCar3aVneaGgcXrFQc bP8jcQBWyVITqi0wnKgTulYvrdFhNe0X13+3a1B1zwjyUvt7I/+x1wCnxi3Itr85e9Se ESMg== MIME-Version: 1.0 X-Received: by 10.220.164.202 with SMTP id f10mr525406vcy.25.1385801646452; Sat, 30 Nov 2013 00:54:06 -0800 (PST) Received: by 10.59.8.2 with HTTP; Sat, 30 Nov 2013 00:54:06 -0800 (PST) Date: Sat, 30 Nov 2013 14:24:06 +0530 Message-ID: Subject: Folder creation using Path in MR java code From: unmesha sreeveni To: User Hadoop Content-Type: multipart/alternative; boundary=001a11c1e980ddbcd904ec6116a1 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1e980ddbcd904ec6116a1 Content-Type: text/plain; charset=ISO-8859-1 Hi all How to create a folder in hdfs using java code I tried Path folder = new Path("dir1"); But it is not created in hdfs. And i also tried it in eclipse. There also the folder is not creating. -- *Thanks & Regards* Unmesha Sreeveni U.B *Junior Developer* --001a11c1e980ddbcd904ec6116a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all
=A0 =A0 =A0 =A0 =A0How to create a folder in hdfs using = java code

I tried

Path folder =3D new Path("dir1");

But it is not created in h= dfs. And i also tried it in eclipse. There also the folder is not creating.=
=A0

--
= Thanks & Regards

Unmesha Sreeveni U.B
Junior Developer

--001a11c1e980ddbcd904ec6116a1--