iwasakims commented on issue #584: BIGTOP-3293. Add hadoop-kms package.
URL: https://github.com/apache/bigtop/pull/584#issuecomment-579353433
 
 
   I manually tested that hadoop-kms service starts and `hadoop key` works 
after `sudo yum install hadoop-kms`.
   
   Keystore password must set set before starting hadoop-kms service. You may 
need to set JAVA_OPTS to make Tomcat bind ipv4 address depending on the OS 
settings.
   ```
   $ sudo bash -c 'echo "export HADOOP_KEYSTORE_PASSWORD=mysecret" >> 
/etc/hadoop-kms/conf/kms-env.sh'
   $ sudo bash -c 'echo "export JAVA_OPTS=\"\$JAVA_OPTS 
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true \"" >> 
/etc/hadoop-kms/conf/kms-env.sh'
   $ sudo service hadoop-kms start
   ```
   
   Client-side settings must be set in /etc/hadoop/conf/core-site.xml.
   ```
     <property>
       <name>hadoop.security.key.provider.path</name>
       <value>kms://http@localhost:16000/kms</value>
     </property>
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to