Yes. This is what short circuit does.
On Wed, Apr 2, 2014 at 2:39 PM, 宾莉金 <[email protected]> wrote: > 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 <[email protected]>: > > 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, 宾莉金 <[email protected]> wrote: >> >>> If we configure the following conf, is all normal data traffic pass over >>> UNIX domain sockets? >>> <property> >>> <name>dfs.client.read.shortcircuit</name> >>> <value>true</value> >>> </property> >>> <property> >>> <name>dfs.domain.socket.path</name> >>> <value>/var/lib/hadoop/dn_socket</value> >>> </property> >>> <property> >>> <name>dfs.client.domain.socket.data.traffic</name> >>> <value>true</value> >>> </property> >>> >>> -- >>> *Best Regards,* >>> lijin bin >>> >> >> >> >> -- >> Cheers >> -MJ >> > > > > -- > *Best Regards,* > lijin bin > -- Regards Gordon Wang
