You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Radar Lei (JIRA)" <ji...@apache.org> on 2015/11/09 04:18:11 UTC

[jira] [Created] (HAWQ-137) Update hdfs-client.xml and yarn-client.xml

Radar Lei created HAWQ-137:
------------------------------

             Summary: Update hdfs-client.xml and yarn-client.xml
                 Key: HAWQ-137
                 URL: https://issues.apache.org/jira/browse/HAWQ-137
             Project: Apache HAWQ
          Issue Type: Improvement
          Components: libhdfs, libyarn
            Reporter: Radar Lei
            Assignee: Lei Chang


1. On linux. The following parameters should be set both in hdfs-site.xml and hdfs-client.xml.

<property>
  <name>dfs.client.read.shortcircuit</name>
  <value>true</value>
  <description>
    This configuration parameter turns on short-circuit local reads.
  </description>
</property>

<property>
  <name>dfs.domain.socket.path</name>
  <value>/var/lib/hadoop-hdfs/hdfs_domain</value>
  <description>
    Optional.  This is a path to a UNIX domain socket that will be used for
    communication between the DataNode and local HDFS clients.
    If the string "_PORT" is present in this path, it will be replaced by the
    TCP port of the DataNode.
  </description>
</property>

<property>
  <name>dfs.client.use.legacy.blockreader.local</name>
  <value>false</value>
  <description>
    Legacy short-circuit reader implementation based on HDFS-2246 is used
    if this configuration parameter is true.
    This is for the platforms other than Linux
    where the new implementation based on HDFS-347 is not available.
  </description>
</property>

2. Minor changes to yarn-client.xml for default port number.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)