Securing Hadoop
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "To support renewable tickets, we add the max_renewable_life setting to your realm in kdc.conf."

A block of code is set as follows:

kdcdefaults]
kdc_ports = 88

[realms]
MYDOMAIN.COM = {
  profile = /etc/krb5.conf
  supported_enctypes = aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal des-cbc-crc:v4 des-cbc-crc:afs3
  allow-null-ticket-addresses = true 
  database_name = /usr/local/var/krb5kdc/principal
  acl_file = /usr/local/var/krb5kdc/kadm5.acl
  admin_database_lockfile = /usr/local/var/krb5kd/kadm5_adb.lock
  admin_keytab = FILE:/usr/local/var/krb5kdc/kadm5.keytab
  key_stash_file = /usr/local/var/krb5kdc/.k5stash
  kdc_ports = 88
  kadmind_port = 749
  max_life = 2d 0h 0m 0s
  max_renewable_life = 7d 0h 0m 0s
}

Any command-line input or output is written as follows:

sudo service hadoop-hdfs-namenode start
sudo service hadoop-hdfs-datanode start
sudo service hadoop-hdfs-secondarynamenode start
For MRV1
sudo service hadoop-0.20-mapreduce-jobtracker start

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.