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 DC8CF108B9 for ; Mon, 27 Jan 2014 15:12:43 +0000 (UTC) Received: (qmail 57231 invoked by uid 500); 27 Jan 2014 15:12:18 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 57069 invoked by uid 500); 27 Jan 2014 15:12:17 -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 57059 invoked by uid 99); 27 Jan 2014 15:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 15:12:17 +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 harsh@cloudera.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-ig0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 15:12:12 +0000 Received: by mail-ig0-f173.google.com with SMTP id c10so9254991igq.0 for ; Mon, 27 Jan 2014 07:11:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=DSwNvT/0eTUIslvG3eVTIftgjOTZuyJubIpNiDjvygk=; b=YRxHs/2THg0wXiJp6IaeZb4lxlAu4Ng6GsD7+ERIFuXzPoEI4bF+LltBlzfBlgDc/1 17kVrLsS0cPuIOG6/OZFeoLs7XNpXABjn5tECaU5AAs7SCuZxdfKoX7x6AER83wFIE+B 2Ftc/bkrBcbtOkcVSaHnb+9Fm+h/r/LS3wG2rLc+VsBsYpr38LlbXVQ9VRY3qtF5+Yxz NQpVzQeQ0VfpNKSZmy5cIDpfSj9JfVY8UYyJOrfYo2VmMflTvs4SKQ2iKtPVkohRZwjz M+Rw/D1GsD/iwNpR9QDM+L6ZR0sXsejZAWD0198BueBK3mubeWk7URCLn4lOiX/BsR+K mxkA== X-Gm-Message-State: ALoCoQmvf4+ox4kodvc0rmP9rx2I6uHx6Cw4ZqQ6n3mDlHXjZIL3FPFsN7cR/8nfBdCazaGLvh8p MIME-Version: 1.0 X-Received: by 10.43.138.143 with SMTP id is15mr21797255icc.23.1390835511966; Mon, 27 Jan 2014 07:11:51 -0800 (PST) Received: by 10.50.61.97 with HTTP; Mon, 27 Jan 2014 07:11:51 -0800 (PST) Received: by 10.50.61.97 with HTTP; Mon, 27 Jan 2014 07:11:51 -0800 (PST) In-Reply-To: <869970D71E26D7498BDAC4E1CA92226B86E1FEDD@MBX021-E3-NJ-2.exch021.domain.local> References: <869970D71E26D7498BDAC4E1CA92226B86E1FEDD@MBX021-E3-NJ-2.exch021.domain.local> Date: Mon, 27 Jan 2014 20:41:51 +0530 Message-ID: Subject: Re: HDFS open file limit From: Harsh J To: "" Content-Type: multipart/alternative; boundary=001a11c1ca12a1f9a904f0f5204f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1ca12a1f9a904f0f5204f Content-Type: text/plain; charset=ISO-8859-1 Hi John, There is a concurrent connections limit on the DNs that's set to a default of 4k max parallel threaded connections for reading or writing blocks. This is also expandable via configuration but usually the default value suffices even for pretty large operations given the replicas help spread read load around. Beyond this you will mostly just run into configurable OS limitations. On Jan 26, 2014 11:03 PM, "John Lilley" wrote: > I have an application that wants to open a large set of files in HDFS > simultaneously. Are there hard or practical limits to what can be opened > at once by a single process? By the entire cluster in aggregate? > > Thanks > > John > > > > > --001a11c1ca12a1f9a904f0f5204f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi John,

There is a concurrent connections limit on the DNs that'= s set to a default of 4k max parallel threaded connections for reading or w= riting blocks. This is also expandable via configuration but usually the de= fault value suffices even for pretty large operations given the replicas he= lp spread read load around.

Beyond this you will mostly just run into configurable OS li= mitations.

--001a11c1ca12a1f9a904f0f5204f--