Hi Prabhakar,
  Check your config. The following error message shows that a valid host name 
is missing :

"Caused by: java.io.IOException: Incomplete HDFS URI, no host: hdfs:///"

> 2021年10月1日 下午5:26,Prabhakar Bhosaale <[email protected]> 写道:
> 
> Hi Team,
> I have installed drill in distributed mode on hadoop 3 node cluster.
> 
> I get following error in the drillbit.out file when try to start the
> drillbit
> 
> ----- ERROR----
> 12:34:46.984 [main-EventThread] ERROR o.a.c.framework.imps.EnsembleTracker
> - Invalid config event received:
> {server.1=machinename1:2888:3888:participant, version=0, server.3=
> machinename2:2888:3888:participant, server.2=
> machinename3:2888:3888:participant}
> Exception in thread "main"
> org.apache.drill.exec.exception.DrillbitStartupException: Failure during
> initial startup of Drillbit.
> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:588)
> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:554)
> at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:550)
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Error
> during file system hdfs:/// setup
> at
> org.apache.drill.common.exceptions.DrillRuntimeException.create(DrillRuntimeException.java:48)
> at
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:231)
> at
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:109)
> at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:233)
> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:584)
> ... 2 more
> Caused by: java.io.IOException: Incomplete HDFS URI, no host: hdfs:///
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:170)
> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3375)
> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:125)
> at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3424)
> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3392)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:485)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:233)
> at
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:229)
> ... 5 more
> ----ERROR END----
> 
> THe drill version is - 1.19
> Haddop version is - 3.3.1
> Zookeeper version is - 3.71
> 
> I have following settings done
> 
> zoo.cfg file
> server.1=machine1:2888:3888
> server.2= machine2:2888:3888
> server.3= machine3:2888:3888
> 
> drill-override.conf
> zk: {
>    connect: "machine1:2181, machine2:2181, machine3:2181",
>    root: "user/pstore",
>    refresh: 500,
>    timeout: 5000,
>    retry: {
>      count: 7200,
>      delay: 500
>    }
> 
> udf: {
>    # number of retry attempts to update remote function registry
>    # if registry version was changed during update
>    retry-attempts: 10,
>    directory: {
>      # Override this property if custom file system should be used to
> create remote directories
>      # instead of default taken from Hadoop configuration
>      fs: "hdfs:///",
>      # Set this property if custom absolute root should be used for remote
> directories
>      root: "user/udf"
>    }
> 
> Any help and pointer is appreciated. thx
> 
> Regards
> Prabhakar

Reply via email to