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 66BCC116AD for ; Wed, 2 Apr 2014 06:39:35 +0000 (UTC) Received: (qmail 31835 invoked by uid 500); 2 Apr 2014 06:39:28 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 31734 invoked by uid 500); 2 Apr 2014 06:39:27 -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 31722 invoked by uid 99); 2 Apr 2014 06:39:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 06:39:26 +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 binlijin@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 06:39:21 +0000 Received: by mail-wi0-f176.google.com with SMTP id r20so6431771wiv.9 for ; Tue, 01 Apr 2014 23:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MP1ZpaG/U63+qayLBBjn0gx0iWUiIaVZUiuIMBn3KCM=; b=ngpoinMAtcc+jW9UOtf/l7iB4SBWdvYKC01fv41NwqRpN5F85+i7bARU6nosYkzBR/ 2vR+NS1wI0TQ1mL0UU6WVxCn8l7m4amm9dWyjsXqGcvOolIohEJB77odIGWAREiCwTjx Leb1xaCDChDbBv4wesGbZ+A3eEyQdUgLDvaZUpBJ8NRLQW1CgFBfkbgOSLhpPGqckj+/ +gAgj6xvkWzK/7zD0OF1bo0bnIwFl4fa2vZpqiIhYvGiuLJRVgC4WdWvqijmZshMwmWz DSGHCXC1KCkh3FiDtt9AIckntNKkQNXyzNmAGY2jH/Zs8NuIA5M5vqrjvt3UU6CDlV+w +oYA== MIME-Version: 1.0 X-Received: by 10.180.89.211 with SMTP id bq19mr25628184wib.58.1396420740677; Tue, 01 Apr 2014 23:39:00 -0700 (PDT) Received: by 10.180.107.225 with HTTP; Tue, 1 Apr 2014 23:39:00 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Apr 2014 14:39:00 +0800 Message-ID: Subject: Re: dfs.client.domain.socket.data.traffic From: =?GB2312?B?sfbA8r3w?= To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8f3bae6734873d04f6098a93 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f3bae6734873d04f6098a93 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable My mistake, if the client is co-located with the data, was the client get the data through UNIX domain sockets? 2014-04-02 14:35 GMT+08:00 Mingjiang Shi : > How do you define "all normal data traffic"? The short circuit is only > possible in cases where the client is co-located with the data. > > > On Wed, Apr 2, 2014 at 2:27 PM, =B1=F6=C0=F2=BD=F0 w= rote: > >> If we configure the following conf, is all normal data traffic pass ove= r >> UNIX domain sockets? >> >> dfs.client.read.shortcircuit >> true >> >> >> dfs.domain.socket.path >> /var/lib/hadoop/dn_socket >> >> >> dfs.client.domain.socket.data.traffic >> true >> >> >> -- >> *Best Regards,* >> lijin bin >> > > > > -- > Cheers > -MJ > --=20 *Best Regards,* lijin bin --e89a8f3bae6734873d04f6098a93 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
My mistake, if the client is co-located with the data, was the client get the data = through UNIX=  domain sockets?


2014-04-02 14= :35 GMT+08:00 Mingjiang Shi <mshi@gopivotal.com>:
How= do you define "all normal data traffic"? The short circuit is only possible in cases where the client is co= -located with the data.


On Wed, Apr 2, 2014 at 2:27 PM, =B1=F6=C0=F2=BD=F0 <binlijin@gmail.com> wrote:
If we configure the followi= ng conf,  is all normal data traffic&nb= sp;pass over UNIX domain sockets?
<property>
  <name>dfs.client.read.sho= rtcircuit</name>
  <value>true</value>
</property>
<property>
  <na= me>dfs.domain.socket.path</name>
  <value>/var/lib/hadoop/dn_socket</value>
= </property>
<property>
  <name>d= fs.client.domain.socket.data.traffic</name>
  <valu= e>true</value>
</property>

--
Best=20 Regards,
 lijin bin



--
Cheers
-= MJ



--
Best=20 Regards,
 lijin bin
--e89a8f3bae6734873d04f6098a93--