hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongwu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1166) More Friendly Error Message after hawqregister with original table
Date Mon, 21 Nov 2016 04:09:58 GMT
hongwu created HAWQ-1166:
----------------------------

             Summary: 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: Lei Chang


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?

`
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)
`



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message