3 Replies Latest reply on Mar 23, 2018 5:21 PM by Carisa Chang

    Error while using kerberos to connect to hive with Tableau Server on Linux

    Patricia Bobe

      Hi Community,


      I have a problem connecting to my published Hive Datasource on Tableau Server on Linux. I already did the following steps:


      sudo ktutil

      ktutil:  addent -password -p tabsrv@example.com -k 2 -e <encryption scheme>

      ktutil: wkt tabsrv-runas.keytab

      mkdir /var/opt/tableau/tableau_server/keytab 

      sudo cp -p tabsrv-runas.keytab /var/opt/tableau/tableau_server/keytab 

      sudo chown $USER /var/opt/tableau/tableau_server/keytab/tabsrv-runas.keytab 

      chgrp tableau /var/opt/tableau/tableau_server/keytab/tabsrv-runas.keytab 

      chmod g+r /var/opt/tableau/tableau_server/keytab/tabsrv-runas.keytab


      tsm configuration set -k features.RunAsAuthLinux -v true

      tsm configuration set -k native_api.datasource_runas_principal -v tabsrv@example.com

      tsm configuration set -k native_api.datasource_runas_keytab_path -v /var/opt/tableau/tableau_server/keytab/tabsrv-runas.keytab

      tsm pending-changes apply

      After i published my Datasource I got the following Error:Attachments


      Does anybody have an idea what I did wrong?


      Thanks guys

      Cheers Patricia