我正在尝试按照Quick Start for a Single Node在Windows Server 2012 R2上为Hadoop安装Hortonworks Data Platform(HDP)2.2.6.0,但我失败了。
设置 我正在使用Virtual Box for Windows Server 2012 R2。设置Java,Python等。我从管理员帐户运行。我使用cmd.exe作为管理员运行安装程序。
我从安装程序中取消选中“安装游侠”。我也忽略了这部分安装(通过在安装程序中取消检查LZO编解码器):
在部署启用了LZO压缩的HDP时,将以下三个文件(在HDP for Windows安装zip中)添加到包含HDP for Windows Installer和群集属性文件的目录中: - hadoop-lzo-0.4.19.2.2.6.0-2060 - gplcompression.dll - lzo2.dll
群集属性txt可以在这里找到:https://pastebin.mozilla.org/8838912。
错误 从安装日志中,我看到了这个错误:
CREATE-USER: Creating user hadoop
CREATE-USER: Setting password for hadoop
HDP-PS FAILURE: Write-Log : CREATE-USER FAILURE: Exception calling "SetInfo" with "0"
HDP-PS FAILURE: argument(s): "The password does not meet the password policy requirements.
HDP-PS FAILURE: Check the minimum password length, password complexity and password history
HDP-PS FAILURE: requirements.
HDP-PS FAILURE: "
HDP-PS FAILURE: At C:\HadoopInstallFiles\HadoopPackages\hdp-2.2.6.0-winpkg\scripts\create_hadoo
HDP-PS FAILURE: p_user.ps1:220 char:2
HDP-PS FAILURE: + Write-Log $_.Exception.Message "Failure" $_
HDP-PS FAILURE: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HDP-PS FAILURE: + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
HDP-PS FAILURE: tion
HDP-PS FAILURE: + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
HDP-PS FAILURE: n,Write-Log
HDP-PS FAILURE:
HDP FAILURE: Command "C:\HadoopInstallFiles\HadoopPackages\hdp-2.2.6.0-winpkg\scripts\create_hadoop_user.ps1 -username hadoop -passwordBase64 **** failed with exit code 1. Output is "CREATE-USER: Logging to existing log C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.2.6.0.winpkg.install.log CREATE-USER: Logging to C:\HadoopInstallFiles\HadoopSetupTools\hdp-2.2.6.0.winpkg.install.log CREATE-USER: HDP_INSTALL_PATH: C:\HadoopInstallFiles\HadoopPackages\hdp-2.2.6.0-winpkg\scripts CREATE-USER: HDP_RESOURCES_DIR: C:\HadoopInstallFiles\HadoopPackages\hdp-2.2.6.0-winpkg\resources CREATE-USER: UserGroup not provided. Using default UserGroup HadoopUsers. CREATE-USER: Creating user hadoop CREATE-USER: Setting password for hadoop Write-Log : 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.2.6.0-winpkg\scripts\create_hadoo
p_user.ps1:220 char:2
+ Write-Log $_.Exception.Message "Failure" $_
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Write-Log
"
At C:\HadoopInstallFiles\HadoopPackages\hdp-2.2.6.0-winpkg\resources\Winpkg.Utils.psm1:130 char:9
+ throw "Command `"$command`" failed with exit code $captureExitCode. Out ...
可在此处找到完整安装日志:https://pastebin.mozilla.org/8838911
同样的问题。不同的人 我看到了this problem already on other forums或this one。我也尝试过一个复杂的密码,我在Widows中更改了策略。都能跟得上..
帮助 你能帮忙摆脱这个错误并继续安装HDP吗?