一个安装tispark的小问题如

在已有spark集群3.1.1的版本上下载了tispark.jar包放在spark/jars下,然后配置了conf/spark-defalut.conf
但是使用spark-sql报错

21/03/16 16:40:00 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable

Error: Failed to load class org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.

Failed to load main class org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.

You need to build Spark with -Phive and -Phive-thriftserver.

21/03/16 16:40:00 INFO ShutdownHookManager: Shutdown hook called

21/03/16 16:40:00 INFO ShutdownHookManager: Deleting directory /tmp/spark-ef196178-2f94-4989-bf59-f3e245616676

感觉是spark的问题?