hadoop - Hortonworks CREATE-USER FAILURE密码不符合密码策略要求

标签 hadoop active-directory hortonworks-data-platform

尝试安装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

最佳答案

Hortonworks文档说:“密码要求由Windows控制,通常要求密码包含大写和小写字母,数字和特殊字符的组合。”
因此,您应该检查Windows服务器的密码要求,它可能会更改为默认密码以外的其他密码。

关于hadoop - Hortonworks CREATE-USER FAILURE密码不符合密码策略要求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22005736/

相关文章:

java - 与hadoop2.6.0一起部署的tachyon0.8.2,但IPC版本不匹配

hadoop - 在计算 Google bigquery 中的列大小时,列名长度是否计入每个单元格大小?

apache-spark - Spark Sum和计数的性能问题

java - 密码重置使用 UnboundID 执行目录策略

powershell - 使用 Powershell 'Cannot find an overload for "添加“和参数计数”向哈希表添加数据

java - 从主机操作系统访问沙箱中的 kafka(尝试所有解决方案后)

python - 在 python 中运行 hdfs dfsadmin 命令

active-directory - Liferay:LDAP 身份验证不起作用

hadoop - 无法作为主目录的所有者执行HDFS文件系统命令

hadoop - 删除 Hive 外部表而不删除数据