DataStax Enterprise 4.0

Changing the job tracker client port

By default, the job tracker listens on port 8012 for client messages. You can use another port by configuring the mapred.job.tracker property.

Procedure

  1. Open the mapred-site.xml file for editing. The location of the file depends on the type of installation:
    • Packaged installation: /etc/dse/hadoop
    • Tarball installs: install_location/resources/hadoop/conf
  2. Locate the mapred.job.tracker property:
    <!-- Auto detect the dse job tracker -->
    <property>
      <name>mapred.job.tracker</name>
      <value>${dse.job.tracker}</value>
      <description>
        The address of the job tracker
      </description></pre></stepxmp>
  3. In the mapred.job.tracker property, change the placeholder ${dse.job.tracker} value to the port number you want to use. For example, change the port number from the default to 8013:
    <!-- Auto detect the dse job tracker -->
          <property>
            <name>mapred.job.tracker</name>
            <value>8013</value>
            <description>
              The address of the job tracker
            </description>
Show/hide