[ https://issues.apache.org/jira/browse/HAWQ-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiang Sheng closed HAWQ-1166. ----------------------------- Resolution: Won't Fix > More friendly error message after hawqregister with original table > ------------------------------------------------------------------ > > Key: HAWQ-1166 > URL: https://issues.apache.org/jira/browse/HAWQ-1166 > Project: Apache HAWQ > Issue Type: Sub-task > Components: Command Line Tools > Reporter: hongwu > Assignee: Xiang Sheng > Fix For: 2.3.0.0-incubating > > > After hawqregister, if users access the original table, he will get message > below. Although this is a undefined behavior, should we write some record > into catalog table to return instructive error message in this case? > {code} > ERROR: file open error in file > 'hdfs://localhost:8020/hawq_default/16385/16387/16733/1' for relation 't': No > such file or directory (seg0 localhost:40000 pid=43107) > DETAIL: > File does not exist: /hawq_default/16385/16387/16733/1 > at > org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71) > at > org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:61) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1828) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1799) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1712) > at > org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:587) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:365) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2045) > 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:1657) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2045) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)