CrazyBeeline commented on issue #7664:
URL: https://github.com/apache/kyuubi/issues/7664#issuecomment-5435100060

   @pan3793  @maomaodev  
   kyuubi engine start :
   /usr/bigdata/3.4.0/usr/lib/spark/bin/spark-submit \
        --class org.apache.kyuubi.engine.spark.SparkSQLEngine \
        --conf spark.hive.server2.thrift.resultset.default.fetch.size=1000 \
        --conf spark.kyuubi.client.ipAddress=192.168.1.xx \
        --conf spark.kyuubi.client.version=1.10.3 \
        --conf 
spark.kyuubi.engine.appMgrInfo=eyJyZXNvdXJjZU1hbmFnZXIiOiJ5YXJuIiwia3ViZXJuZXRlc0luZm8iOnsiY29udGV4dCI6bnVsbCwibmFtZXNwYWNlIjpudWxsfX0=
 \
        --conf 
spark.kyuubi.engine.credentials=SERUUwACDGhhLWhkZnM6bm5oYVMADnFzZGlfZGV2ZWxvcGVyADBreXV1YmkvaGFkb29wb2UyNHg4NjAyLnFzZGkuYmlnZGF0YUBRU0RJLkJJR0RBVEGKAaBBpIDVigGgZbEE1Y/rGhRI7h59rtYVnRlQ9QvQGen3ne+98hVIREZTX0RFTEVHQVRJT05fVE9LRU4MaGEtaGRmczpubmhhK3RocmlmdDovL2hhZG9vcG9lMjR4ODYwMi5xc2RpLmJpZ2RhdGE6MTkwODNYAA5xc2RpX2RldmVsb3BlcgRoaXZlMGt5dXViaS9oYWRvb3BvZTI0eDg2MDIucXNkaS5iaWdkYXRhQFFTREkuQklHREFUQYoBoEGkgP6KAaBlsQT+jgKREBTn6grukrjSa61ux5ekuwGZD/VvERVISVZFX0RFTEVHQVRJT05fVE9LRU4AAA==
 \
        --conf 
spark.kyuubi.engine.engineLog.path=/var/lib/kyuubi/work/qsdi_developer/kyuubi-spark-sql-engine.log.2
 \
        --conf 
spark.kyuubi.engine.keytab=/etc/security/keytabs/kyuubi.service.keytab \
        --conf spark.kyuubi.engine.principal=kyuubi/[email protected] \
        --conf spark.kyuubi.engine.submit.time=1787810862644 \
        --conf spark.kyuubi.engine.submit.timeout=PT300S \
        --conf spark.kyuubi.engine.type=SPARK_SQL \
        --conf 
spark.kyuubi.ha.addresses=hadoopoe24x8601.qsdi.bigdata:12181,hadoopoe24x8602.qsdi.bigdata:12181,hadoopoe24x8603.qsdi.bigdata:12181
 \
        --conf 
spark.kyuubi.ha.client.class=org.apache.kyuubi.ha.client.zookeeper.ZookeeperDiscoveryClient
 \
        --conf 
spark.kyuubi.ha.engine.ref.id=a657469a-aea9-431b-9785-ef9f0231a004 \
        --conf 
spark.kyuubi.ha.namespace=/kyuubi_1.10.3_USER_SPARK_SQL/qsdi_developer/default \
        --conf spark.kyuubi.ha.zookeeper.acl.enabled=true \
        --conf 
spark.kyuubi.ha.zookeeper.auth.keytab=/etc/security/keytabs/kyuubi.service.keytab
 \
        --conf 
spark.kyuubi.ha.zookeeper.auth.principal=kyuubi/[email protected] \
        --conf spark.kyuubi.ha.zookeeper.auth.type=KERBEROS \
        --conf spark.kyuubi.ha.zookeeper.engine.auth.type=KERBEROS \
        --conf 
spark.kyuubi.ha.zookeeper.quorum=hadoopoe24x8601.qsdi.bigdata:12181,hadoopoe24x8602.qsdi.bigdata:12181,hadoopoe24x8603.qsdi.bigdata:12181
 \
        --conf spark.kyuubi.ha.zookeeper.session.timeout=600000 \
        --conf spark.kyuubi.server.ipAddress=192.168.1.xxx \
        --conf 
spark.kyuubi.session.connection.url=hadoopoe24x8602.qsdi.bigdata:20009 \
        --conf spark.kyuubi.session.engine.initialize.timeout=300000 \
        --conf spark.kyuubi.session.idle.timeout=PT6H \
        --conf spark.kyuubi.session.real.user=qsdi_developer \
        --conf 
spark.app.name=kyuubi_USER_SPARK_SQL_qsdi_developer_default_a657469a-aea9-431b-9785-ef9f0231a004
 \
        --conf spark.executor.memory=1g \
        --conf spark.files=/etc/security/keytabs/kyuubi.service.keytab \
        --conf spark.master=yarn \
        --conf spark.submit.deployMode=client \
        --conf spark.yarn.driver.memory=1g \
        --conf spark.yarn.maxAppAttempts=1 \
        --conf spark.yarn.queue=default \
        --conf spark.yarn.tags=KYUUBI,a657469a-aea9-431b-9785-ef9f0231a004 \
        --proxy-user qsdi_developer 
/usr/bigdata/3.4.0/usr/lib/kyuubi/externals/engines/spark/kyuubi-spark-sql-engine_2.12-1.10.3.jar
   
   Simulate the scenario above.
   spark-sql   --proxy-user  qsdi_developer  
   step 3:
   set 
spark.sql.catalog.hivex2=org.apache.kyuubi.spark.connector.hive.HiveTableCatalog;
   set 
spark.sql.catalog.hivex2.hive.metastore.uris=thrift://hadoopoe24x8602.qsdi.bigdata:19083;
   use hivex2;
   create table test_bb (id int);
   
   work well 
   
   
   Therefore, I believe that restrictions on HiveTableCatalog apply only on the 
Kyuubi engine‑side.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to