Or, is there a standard installation guide for integration tez and hive3? Thank you.
On Mon, Mar 28, 2022 at 12:21 PM Bitfox <bit...@bitfox.top> wrote: > When I had this config in hive-env.sh: > > export > HADOOP_CLASSPATH=/opt/tez/conf:/opt/tez/*:/opt/tez/lib/*:$HADOOP_CLASSPATH > > > > and when I started Hive I got the error: > > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.hadoop.fs.FsTracer.get(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/htrace/core/Tracer; > > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:304) > > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:289) > > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:172) > > at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3469) > > at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:174) > > at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3574) > > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3521) > > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:540) > > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:288) > > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:624) > > at > org.apache.hadoop.hive.ql.session.SessionState.beginStart(SessionState.java:591) > > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:747) > > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:683) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at org.apache.hadoop.util.RunJar.run(RunJar.java:323) > > at org.apache.hadoop.util.RunJar.main(RunJar.java:236) > > > > > > But when I removed that line in hive-env.sh and started hive again, it > just worked. > > > hadoop-3.3.2 > > hive-3.1.2 > > tez-0.10.1 > > java version "1.8.0_321" > > > All of them were installed in a local node for development purposes. > > > Please help with this issue. Thanks. > > Bitfox > > >