Hi,
Please make sure that kylin has read, wirite and create rights on  hdfs, try 
“hadoop fs -chmod -R 755 /kylin”. If still has the problem, you can find the 
hive command that create  intermediate flat table on hive at kylin frontend 
page or kylin.log, run this hive command to see if the command run properly.

发件人: 冯腾 <[email protected]>
答复: <[email protected]>
日期: 2019年10月28日 星期一 12:26
收件人: <[email protected]>
主题: Re:Re: need help


First of all, thank you for your reply.

My HDFS is: 3.1 hive is: 3.1 hbase is: 2.0 kylin is: 3.1

The binary package kylin USES is: for Hadoop 3.1 + HBase 2.0 (includes 
Hortonworks HDP 3.0) - apache-kylin-3.0.0-beta-bin-hadoop3.tar.gz

I extracted the tar package and configured the dependent environment 
variables.To create a project.The model.Cube.All are successful.Only error in 
build, error in #1 Step.




At 2019-10-28 11:37:00, "Yaqian Zhang" <[email protected]> wrote:

Hi FengTeng:

Can you provide more details such as Kylin version and Hadoop version?


在 2019年10月28日,11:07,冯腾 <[email protected]<mailto:[email protected]>> 写道:


java.io.FileNotFoundException: File does not exist: 
/kylin/kylin_metadata/kylin-6de0c22d-9bca-51ed-a321-a9f621283175/kylin_intermediate_q_65639922_e70a_236b_3de3_4be81ca0cc1d

      at 
org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getContentSummaryInt(FSDirStatAndListingOp.java:528)

      at 
org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getContentSummary(FSDirStatAndListingOp.java:138)

      at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getContentSummary(FSNamesystem.java:3186)

      at 
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getContentSummary(NameNodeRpcServer.java:1398)

      at 
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getContentSummary(ClientNamenodeProtocolServerSideTranslatorPB.java:1017)

      at 
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

      at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524)

      at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025)

      at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876)

      at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822)

      at java.security.AccessController.doPrivileged(Native Method)

      at javax.security.auth.Subject.doAs(Subject.java:422)

      at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)

      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682)



      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

      at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

      at 
org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:121)

      at 
org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:88)

      at org.apache.hadoop.hdfs.DFSClient.getContentSummary(DFSClient.java:2442)

      at 
org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:971)

      at 
org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:968)

      at 
org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)

      at 
org.apache.hadoop.hdfs.DistributedFileSystem.getContentSummary(DistributedFileSystem.java:978)

      at 
org.apache.kylin.source.hive.CreateFlatHiveTableStep.getFileSize(CreateFlatHiveTableStep.java:80)

      at 
org.apache.kylin.source.hive.CreateFlatHiveTableStep.createFlatHiveTable(CreateFlatHiveTableStep.java:66)

      at 
org.apache.kylin.source.hive.CreateFlatHiveTableStep.doWork(CreateFlatHiveTableStep.java:89)

      at 
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)

      at 
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:71)

      at 
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)

      at 
org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:114)

      at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

Caused by: 
org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File does 
not exist: 
/kylin/kylin_metadata/kylin-6de0c22d-9bca-51ed-a321-a9f621283175/kylin_intermediate_q_65639922_e70a_236b_3de3_4be81ca0cc1d

      at 
org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getContentSummaryInt(FSDirStatAndListingOp.java:528)

      at 
org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getContentSummary(FSDirStatAndListingOp.java:138)

      at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getContentSummary(FSNamesystem.java:3186)

      at 
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getContentSummary(NameNodeRpcServer.java:1398)

      at 
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getContentSummary(ClientNamenodeProtocolServerSideTranslatorPB.java:1017)

      at 
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

      at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524)

      at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025)

      at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876)

      at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822)

      at java.security.AccessController.doPrivileged(Native Method)

      at javax.security.auth.Subject.doAs(Subject.java:422)

      at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)

      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682)



      at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1497)

      at org.apache.hadoop.ipc.Client.call(Client.java:1443)

      at org.apache.hadoop.ipc.Client.call(Client.java:1353)

      at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)

      at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)

      at com.sun.proxy.$Proxy42.getContentSummary(Unknown Source)

      at 
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getContentSummary(ClientNamenodeProtocolTranslatorPB.java:947)

      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.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)

      at 
org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)

      at 
org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)

      at 
org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)

      at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)

      at com.sun.proxy.$Proxy43.getContentSummary(Unknown Source)

      at org.apache.hadoop.hdfs.DFSClient.getContentSummary(DFSClient.java:2440)

      ... 14 more



以上是报错日志,此异常的产生原因可能是什么,需要您的帮助

This exception appears in build #1 step.Start kylin normal.Cube creation is 
normal, only build failed.












Reply via email to