Fixed some typos.

Trivial fixes.

Change-Id: I53e4d697841376375c78f27f371fcd2dee720298
This commit is contained in:
zhouyunfeng 2016-11-21 10:31:05 +08:00 committed by yunfeng zhou
parent a5c84c74c3
commit dcc0921a33
4 changed files with 5 additions and 5 deletions

View File

@ -81,9 +81,9 @@ class AbstractVersionHandler(object):
class BaseVersionHandler(AbstractVersionHandler): class BaseVersionHandler(AbstractVersionHandler):
def __init__(self): def __init__(self):
# Need to be specitied in subclass # Need to be specified in subclass
self.config_helper = None # config helper self.config_helper = None # config helper
self.cloudera_utils = None # CoulderaUtils self.cloudera_utils = None # ClouderaUtils
self.deploy = None # to deploy self.deploy = None # to deploy
self.edp_engine = None self.edp_engine = None
self.plugin_utils = None # PluginUtils self.plugin_utils = None # PluginUtils

View File

@ -337,7 +337,7 @@ class BaseApiResource(BaseApiObject):
raise NotImplementedError raise NotImplementedError
def _require_min_api_version(self, version): def _require_min_api_version(self, version):
"""Check mininum verson requirement """Check minimum version requirement
Raise an exception if the version of the api is less than the given Raise an exception if the version of the api is less than the given
version. version.

View File

@ -71,7 +71,7 @@ class ConfigHelper(object):
'Await Cloudera agents timeout', 'general', 'cluster', 'Await Cloudera agents timeout', 'general', 'cluster',
config_type='int', priority=1, default_value=300, is_optional=True, config_type='int', priority=1, default_value=300, is_optional=True,
description="Timeout for Cloudera agents connecting to" description="Timeout for Cloudera agents connecting to"
" Coudera Manager, in seconds") " Cloudera Manager, in seconds")
AWAIT_MANAGER_STARTING_TIMEOUT = p.Config( AWAIT_MANAGER_STARTING_TIMEOUT = p.Config(
'Timeout for Cloudera Manager starting', 'general', 'cluster', 'Timeout for Cloudera Manager starting', 'general', 'cluster',

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# This file only contains utils not related to cm_api, while in # This file only contains utils not related to cm_api, while in
# cloudera_utils the functios are cm_api involved. # cloudera_utils the functions are cm_api involved.
import os import os
import telnetlib # nosec import telnetlib # nosec