From 3d619678ca3a91012dc9dc9e9678826a1ed8cff7 Mon Sep 17 00:00:00 2001 From: liuzhaokun Date: Mon, 17 Apr 2017 15:41:47 +0800 Subject: [PATCH] [STORM-2480] principle should be modified to principal --- docs/storm-hbase.md | 2 +- docs/storm-hdfs.md | 2 +- external/storm-hbase/README.md | 2 +- external/storm-hdfs/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/storm-hbase.md b/docs/storm-hbase.md index 1710e1bebcb..a1b0764cc20 100644 --- a/docs/storm-hbase.md +++ b/docs/storm-hbase.md @@ -46,7 +46,7 @@ provided for the storm-hbase connector. Specifically, the Config object passed i Config config = new Config(); ... config.put("storm.keytab.file", "$keytab"); -config.put("storm.kerberos.principal", "$principle"); +config.put("storm.kerberos.principal", "$principal"); StormSubmitter.submitTopology("$topologyName", config, builder.createTopology()); ``` diff --git a/docs/storm-hdfs.md b/docs/storm-hdfs.md index db99f4ca128..d2c7567822d 100644 --- a/docs/storm-hdfs.md +++ b/docs/storm-hdfs.md @@ -555,7 +555,7 @@ Only methods mentioned in **bold** are required. | .setLockTimeoutSec() |~~hdfsspout.lock.timeout.sec~~ | 5 minutes | Duration of inactivity after which a lock file is considered to be abandoned and ready for another spout to take ownership | | .setClocksInSync() |~~hdfsspout.clocks.insync~~ | true | Indicates whether clocks on the storm machines are in sync (using services like NTP). Used for detecting stale locks. | | .withConfigKey() | | | Optional setting. Overrides the default key name ('hdfs.config', see below) used for specifying HDFS client configs. | -| .setHdfsClientSettings() |~~hdfs.config~~ (unless changed via withConfigKey)| | Set it to a Map of Key/value pairs indicating the HDFS settings to be used. For example, keytab and principle could be set using this. See section **Using keytabs on all worker hosts** under HDFS bolt below.| +| .setHdfsClientSettings() |~~hdfs.config~~ (unless changed via withConfigKey)| | Set it to a Map of Key/value pairs indicating the HDFS settings to be used. For example, keytab and principal could be set using this. See section **Using keytabs on all worker hosts** under HDFS bolt below.| | .withOutputStream() | | | Name of output stream. If set, the tuples will be emited to the specified stream. Else tuples will be emited to the default output stream | --- diff --git a/external/storm-hbase/README.md b/external/storm-hbase/README.md index 95d5c6c5bdd..72d0f5ff479 100644 --- a/external/storm-hbase/README.md +++ b/external/storm-hbase/README.md @@ -42,7 +42,7 @@ provided for the storm-hbase connector. Specifically, the Config object passed i Config config = new Config(); ... config.put("storm.keytab.file", "$keytab"); -config.put("storm.kerberos.principal", "$principle"); +config.put("storm.kerberos.principal", "$principal"); StormSubmitter.submitTopology("$topologyName", config, builder.createTopology()); ``` diff --git a/external/storm-hdfs/README.md b/external/storm-hdfs/README.md index 10e62e1bb0d..f97ed517feb 100644 --- a/external/storm-hdfs/README.md +++ b/external/storm-hdfs/README.md @@ -554,7 +554,7 @@ Only methods mentioned in **bold** are required. | .setLockTimeoutSec() |~~hdfsspout.lock.timeout.sec~~ | 5 minutes | Duration of inactivity after which a lock file is considered to be abandoned and ready for another spout to take ownership | | .setClocksInSync() |~~hdfsspout.clocks.insync~~ | true | Indicates whether clocks on the storm machines are in sync (using services like NTP). Used for detecting stale locks. | | .withConfigKey() | | | Optional setting. Overrides the default key name ('hdfs.config', see below) used for specifying HDFS client configs. | -| .setHdfsClientSettings() |~~hdfs.config~~ (unless changed via withConfigKey)| | Set it to a Map of Key/value pairs indicating the HDFS settings to be used. For example, keytab and principle could be set using this. See section **Using keytabs on all worker hosts** under HDFS bolt below.| +| .setHdfsClientSettings() |~~hdfs.config~~ (unless changed via withConfigKey)| | Set it to a Map of Key/value pairs indicating the HDFS settings to be used. For example, keytab and principal could be set using this. See section **Using keytabs on all worker hosts** under HDFS bolt below.| | .withOutputStream() | | | Name of output stream. If set, the tuples will be emited to the specified stream. Else tuples will be emited to the default output stream | ---