You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/07/10 02:25:53 UTC

[GitHub] [incubator-pinot] rpatid10 edited a comment on issue #7134: Pinot Is Not Able to Read JAAS File Property (java.security.auth.login.config) While Doing Integration With Kerberos Kafka.

rpatid10 edited a comment on issue #7134:
URL: https://github.com/apache/incubator-pinot/issues/7134#issuecomment-877541179


   Steps to enable Kerberos Authentication:
   First do kinit and klist:
   
   kinit -kt <your_keytab_path>  <principal_name>
   klist
   Command to start components:
   
   
   Start Controller : 
   
   JAVA_OPTS="-Xms1G -Xmx4G -Dplugins.dir=plugins -Djava.security.auth.login.config=/home/dev/client_jaas.conf" \
    bin/pinot-admin.sh \
   StartController \
   -configFileName /home/dev/apache-pinot-incubating-0.7.1-bin/cont.conf
   
   Start broker : 
   
    JAVA_OPTS="-Xms1G -Xmx4G -Dplugins.dir=plugins -Djava.security.auth.login.config=/home/dev/client_jaas.conf" \
   StartBroker \
   -zkAddress <Zookeeper_Address> \
   -clusterName PinotCluster  \
   -configFileName /home/dev/apache-pinot-incubating-0.7.1-bin/broker.conf
   
   Start Server : 
   
   JAVA_OPTS="-Xms1G -Xmx4G -Dplugins.dir=plugins -Djava.security.auth.login.config=/home/dev/client_jaas.conf" \
    bin/pinot-admin.sh \
   StartServer \
   -zkAddress l<Zookeeper_Address> \
   -configFileName /home/dev/apache-pinot-incubating-0.7.1-bin/server.conf
   
   Add this Property in table config file:
   
   "streamConfigs": {
   "streamType": "kafka",
         "security.protocol": "SASL_PLAINTEXT",
   .....
   }
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org