尝试安装Hadoop Hortonworks 2.0.6.0 GA版本。
安装失败,安装日志文件包含以下错误
CREATE-USER FAILURE: Exception calling "SetInfo" with "0" argument(s): "The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.
我已经注意了密码与用户名不相似 密码是1Lifepo4
完整日志
WINPKG: Logging to existing log C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.0.6.0.winpkg.install.log
WINPKG: ENV:WINPKG_BIN is C:\HadoopInstallFiles\HadoopSetupTools\
WINPKG: Setting HADOOP_NODE_INSTALL_ROOT
WINPKG: Making HADOOP_NODE_INSTALL_ROOT from system variable: HADOOP_NODE_INSTALL_ROOT = c:\hdp
WINPKG: Setting hadoop user password
WINPKG: Making HDP_USER_PASSWORD from system variable: HDP_USER_PASSWORD = Carbon02
WINPKG: Setting destroy data
WINPKG: Making DESTROY_DATA from system variable: DESTROY_DATA = yes
WINPKG: Setting HDP
WINPKG: Making HDP from system variable: HDP = yes
WINPKG: Setting HBASE
WINPKG: Making HBASE from system variable: HBASE = yes
WINPKG: Setting FLUME
WINPKG: Making FLUME from system variable: FLUME = yes
WINPKG: Setting Environment::CurrentDirectory to C:\Windows\SysWOW64
WINPKG: Current Directory: C:\Windows\SysWOW64
WINPKG: Package: C:\HadoopInstallFiles\HadoopSetupTools\\..\HadoopPackages\hdp-2.0.6.0-winpkg.zip
WINPKG: Action: install
WINPKG: Action arguments:
WINPKG: Run-WinpkgAction C:\HadoopInstallFiles\HadoopSetupTools\\..\HadoopPackages\hdp-2.0.6.0-winpkg.zip C:\HadoopInstallFiles\HadoopPackages install
WINPKG: UNZIP: source C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg.zip
WINPKG: UNZIP: destination C:\HadoopInstallFiles\HadoopPackages
WINPKG: UNZIP: unzipRoot C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg
WINPKG: Unzip of C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg.zip to C:\HadoopInstallFiles\HadoopPackages succeeded
WINPKG: UnzipRoot: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg
WINPKG: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\scripts\install.ps1
HDP: Reading HDP layout from C:\Users\asande\AppData\Roaming\hdp_install\clusterproperties.txt
HDP: Ignoring DB_PORT for DB_FLAVOR derby
HDP: Following properties will be exported into the environment
HDP: Property Value
HDP: -------- -----
HDP: HDP_DATA_DIR c:\hdpdata
HDP: CLIENT_HOSTS ASANDE1
HDP: SECONDARY_NAMENODE_HOST ASANDE1
HDP: NAMENODE_HOST ASANDE1
HDP: OOZIE_SERVER_HOST ASANDE1
HDP: OOZIE_DB_PASSWORD 1Lisioco
HDP: HBASE_MASTER ASANDE1
HDP: RESOURCEMANAGER_HOST ASANDE1
HDP: HIVE_SERVER_HOST ASANDE1
HDP: FLUME_HOSTS ASANDE1
HDP: HIVE_DB_USERNAME hiveusr
HDP: DB_PORT 1527
HDP: OOZIE_DB_NAME ooziesand
HDP: ZOOKEEPER_HOSTS ASANDE1
HDP: HDP_LOG_DIR c:\hadoop\logs
HDP: DB_HOSTNAME ASANDE1
HDP: HIVE_DB_PASSWORD 1Lifepo4
HDP: OOZIE_DB_USERNAME oozieusr
HDP: WEBHCAT_HOST ASANDE1
HDP: HIVE_DB_NAME hivesand
HDP: SLAVE_HOSTS ASANDE1
HDP: DB_FLAVOR DERBY
HDP: HBASE_REGIONSERVERS ASANDE1
HDP: Logging to existing log C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.0.6.0.winpkg.install.log
HDP: Logging to C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.0.6.0.winpkg.install.log
HDP: HDP_INSTALL_PATH: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\scripts
HDP: HDP_RESOURCES_DIR: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\resources
HDP: INSTALLATION STARTED
HDP: Installing HDP @version@ to c:\hdp
HDP: Setting HADOOP_NODE_INSTALL_ROOT to c:\hdp at machine scope
HDP: Copy the cluster layout to install root
HDP: Using user-defined password.
HDP: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\scripts\create_hadoop_user.ps1 -username hadoop -passwordBase64 ****
CREATE-USER: Logging to existing log C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.0.6.0.winpkg.install.log
CREATE-USER: Logging to C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.0.6.0.winpkg.install.log
CREATE-USER: HDP_INSTALL_PATH: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\scripts
CREATE-USER: HDP_RESOURCES_DIR: C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\resources
CREATE-USER: UserGroup not provided. Using default UserGroup HadoopUsers.
CREATE-USER: Creating user hadoop
CREATE-USER: Setting password for hadoop
CREATE-USER FAILURE: Exception calling "SetInfo" with "0" argument(s): "The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.
"
At C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\scripts\create_hadoop_user.ps1:88 char:22
+ $user.SetInfo &1
+ CategoryInfo : NotSpecified: (Write-Log : CRE...h "0" argument(
:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
s): "The password does not meet the password policy requirements. Check the min
imum password length, password complexity and password history requirements.
"
At C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\scripts\create_hadoo
p_user.ps1:220 char:11
+ Write-Log
答案 0 :(得分:0)
Hortonworks文档说“密码要求由Windows控制,通常要求密码包含大写和小写字母,数字和特殊字符的组合。” 因此,您应该检查Windows服务器的密码要求,它可能会更改为默认值以外的其他内容。