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 :** 
   
    J```
   AVA_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-unsubscr...@pinot.apache.org

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



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

Reply via email to