You can set these in Active Directory
via Group Policies
(for a Group including all hosts in your Hadoop cluster), or you can execute the
given PowerShell commands on every host in your cluster.
Important | |
---|---|
Ensure that the Administrator account on the Windows Server node has a password. The following instructions will not work if the Administrator account has an empty password. |
To enable remote scripting using PowerShell commands:
At each host in the cluster, open a PowerShell window with "Run as Administrator" privileges, and enter:
Set-ExecutionPolicy "RemoteSigned" Enable-PSRemoting Set-item WSMan:\localhost\Client\allowunencrypted $true Set-item wsman:localhost\client\trustedhosts -value "host1,host2"
where
host1,host2
is a list of comma-separated host names in your cluster. For example,"HadoopHost1, HadoopHost2, HadoopHost3"
.