TAJO-2145: Error codes based on errno.h need prefix.
Closes #1014
diff --git a/CHANGES b/CHANGES
index 4389665..20eeb55 100644
--- a/CHANGES
+++ b/CHANGES
@@ -261,6 +261,9 @@
TASKS
+ TAJO-2145: Error codes based on errno.h need prefix.
+ (Jongyoung Park via hyunsik)
+
TAJO-2117: Add some missing index to MariaDBStore.
(Janaka Chathuranga Thilakarathna via jaehwa)
diff --git a/tajo-common/src/main/proto/errors.proto b/tajo-common/src/main/proto/errors.proto
index 7585a83..6e13eb1 100644
--- a/tajo-common/src/main/proto/errors.proto
+++ b/tajo-common/src/main/proto/errors.proto
@@ -204,140 +204,139 @@
// underlying system errors based on errno.h.
- EPERM = 10001; // Operation not permitted
- ENOENT = 10002; // No such file or directory
- ESRCH = 10003; // No such process
- EINTR = 10004; // Interrupted system call
- EIO = 10005; // I/O error
- ENXIO = 10006; // No such device or address
- E2BIG = 10007; // Argument list too long
- ENOEXEC = 10008; // Exec format error
- EBADF = 10009; // Bad file number
- ECHILD = 10010; // No child processes
- EAGAIN = 10011; // Try again
- ENOMEM = 10012; // Out of memory
- EACCES = 10013; // Permission denied
- EFAULT = 10014; // Bad address
- ENOTBLK = 10015; // Block device required
- EBUSY = 10016; // Device or resource busy
- EEXIST = 10017; // File exists
- EXDEV = 10018; // Cross-device link
- ENODEV = 10019; // No such device
- ENOTDIR = 10020; // Not a directory
- EISDIR = 10021; // Is a directory
- EINVAL = 10022; // Invalid argument
- ENFILE = 10023; // File table overflow
- EMFILE = 10024; // Too many open files
- ENOTTY = 10025; // Not a typewriter
- ETXTBSY = 10026; // Text file busy
- EFBIG = 10027; // File too large
- ENOSPC = 10028; // No space left on device
- ESPIPE = 10029; // Illegal seek
- EROFS = 10030; // Read-only file system
- EMLINK = 10031; // Too many links
- EPIPE = 10032; // Broken pipe
- EDOM = 10033; // Math argument out of domain of func
- ERANGE = 10034; // Math result not representable
-;
- EDEADLK = 10035; // Resource deadlock would occur
- ENAMETOOLONG = 10036; // File name too long
- ENOLCK = 10037; // No record locks available
- ENOSYS = 10038; // Function not implemented
- ENOTEMPTY = 10039; // Directory not empty
- ELOOP = 10040; // Too many symbolic links encountered
+ SYS_EPERM = 10001; // Operation not permitted
+ SYS_ENOENT = 10002; // No such file or directory
+ SYS_ESRCH = 10003; // No such process
+ SYS_EINTR = 10004; // Interrupted system call
+ SYS_EIO = 10005; // I/O error
+ SYS_ENXIO = 10006; // No such device or address
+ SYS_E2BIG = 10007; // Argument list too long
+ SYS_ENOEXEC = 10008; // Exec format error
+ SYS_EBADF = 10009; // Bad file number
+ SYS_ECHILD = 10010; // No child processes
+ SYS_EAGAIN = 10011; // Try again
+ SYS_ENOMEM = 10012; // Out of memory
+ SYS_EACCES = 10013; // Permission denied
+ SYS_EFAULT = 10014; // Bad address
+ SYS_ENOTBLK = 10015; // Block device required
+ SYS_EBUSY = 10016; // Device or resource busy
+ SYS_EEXIST = 10017; // File exists
+ SYS_EXDEV = 10018; // Cross-device link
+ SYS_ENODEV = 10019; // No such device
+ SYS_ENOTDIR = 10020; // Not a directory
+ SYS_EISDIR = 10021; // Is a directory
+ SYS_EINVAL = 10022; // Invalid argument
+ SYS_ENFILE = 10023; // File table overflow
+ SYS_EMFILE = 10024; // Too many open files
+ SYS_ENOTTY = 10025; // Not a typewriter
+ SYS_ETXTBSY = 10026; // Text file busy
+ SYS_EFBIG = 10027; // File too large
+ SYS_ENOSPC = 10028; // No space left on device
+ SYS_ESPIPE = 10029; // Illegal seek
+ SYS_EROFS = 10030; // Read-only file system
+ SYS_EMLINK = 10031; // Too many links
+ SYS_EPIPE = 10032; // Broken pipe
+ SYS_EDOM = 10033; // Math argument out of domain of func
+ SYS_ERANGE = 10034; // Math result not representable
+ SYS_EDEADLK = 10035; // Resource deadlock would occur
+ SYS_ENAMETOOLONG = 10036; // File name too long
+ SYS_ENOLCK = 10037; // No record locks available
+ SYS_ENOSYS = 10038; // Function not implemented
+ SYS_ENOTEMPTY = 10039; // Directory not empty
+ SYS_ELOOP = 10040; // Too many symbolic links encountered
// EWOULDBLOCK = EAGAIN // Operation would block
- ENOMSG = 10042; // No message of desired type
- EIDRM = 10043; // Identifier removed
- ECHRNG = 10044; // Channel number out of range
- EL2NSYNC = 10045; // Level 2 not synchronized
- EL3HLT = 10046; // Level 3 halted
- EL3RST = 10047; // Level 3 reset
- ELNRNG = 10048; // Link number out of range
- EUNATCH = 10049; // Protocol driver not attached
- ENOCSI = 10050; // No CSI structure available
- EL2HLT = 10051; // Level 2 halted
- EBADE = 10052; // Invalid exchange
- EBADR = 10053; // Invalid request descriptor
- EXFULL = 10054; // Exchange full
- ENOANO = 10055; // No anode
- EBADRQC = 10056; // Invalid request code
- EBADSLT = 10057; // Invalid slot
+ SYS_ENOMSG = 10042; // No message of desired type
+ SYS_EIDRM = 10043; // Identifier removed
+ SYS_ECHRNG = 10044; // Channel number out of range
+ SYS_EL2NSYNC = 10045; // Level 2 not synchronized
+ SYS_EL3HLT = 10046; // Level 3 halted
+ SYS_EL3RST = 10047; // Level 3 reset
+ SYS_ELNRNG = 10048; // Link number out of range
+ SYS_EUNATCH = 10049; // Protocol driver not attached
+ SYS_ENOCSI = 10050; // No CSI structure available
+ SYS_EL2HLT = 10051; // Level 2 halted
+ SYS_EBADE = 10052; // Invalid exchange
+ SYS_EBADR = 10053; // Invalid request descriptor
+ SYS_EXFULL = 10054; // Exchange full
+ SYS_ENOANO = 10055; // No anode
+ SYS_EBADRQC = 10056; // Invalid request code
+ SYS_EBADSLT = 10057; // Invalid slot
// EDEADLOCK = EDEADLK
- EBFONT = 10059; // Bad font file format
- ENOSTR = 10060; // Device not a stream
- ENODATA = 10061; // No data available
- ETIME = 10062; // Timer expired
- ENOSR = 10063; // Out of streams resources
- ENONET = 10064; // Machine is not on the network
- ENOPKG = 10065; // Package not installed
- EREMOTE = 10066; // Object is remote
- ENOLINK = 10067; // Link has been severed
- EADV = 10068; // Advertise error
- ESRMNT = 10069; // Srmount error
- ECOMM = 10070; // Communication error on send
- EPROTO = 10071; // Protocol error
- EMULTIHOP = 10072; // Multihop attempted
- EDOTDOT = 10073; // RFS specific error
- EBADMSG = 10074; // Not a data message
- EOVERFLOW = 10075; // Value too large for defined data type
- ENOTUNIQ = 10076; // Name not unique on network
- EBADFD = 10077; // File descriptor in bad state
- EREMCHG = 10078; // Remote address changed
- ELIBACC = 10079; // Can not access a needed shared library
- ELIBBAD = 10080; // Accessing a corrupted shared library
- ELIBSCN = 10081; // .lib section in a.out corrupted
- ELIBMAX = 10082; // Attempting to link in too many shared libraries
- ELIBEXEC = 10083; // Cannot exec a shared library directly
- EILSEQ = 10084; // Illegal byte sequence
- ERESTART = 10085; // Interrupted system call should be restarted
- ESTRPIPE = 10086; // Streams pipe error
- EUSERS = 10087; // Too many users
- ENOTSOCK = 10088; // Socket operation on non-socket
- EDESTADDRREQ = 10089; // Destination address required
- EMSGSIZE = 10090; // Message too long
- EPROTOTYPE = 10091; // Protocol wrong type for socket
- ENOPROTOOPT = 10092; // Protocol not available
- EPROTONOSUPPORT = 10093; // Protocol not supported
- ESOCKTNOSUPPORT = 10094; // Socket type not supported
- EOPNOTSUPP = 10095; // Operation not supported on transport endpoint
- EPFNOSUPPORT = 10096; // Protocol family not supported
- EAFNOSUPPORT = 10097; // Address family not supported by protocol
- EADDRINUSE = 10098; // Address already in use
- EADDRNOTAVAIL = 10099; // Cannot assign requested address
- ENETDOWN = 10100; // Network is down
- ENETUNREACH = 10101; // Network is unreachable
- ENETRESET = 10102; // Network dropped connection because of reset
- ECONNABORTED = 10103; // Software caused connection abort
- ECONNRESET = 10104; // Connection reset by peer
- ENOBUFS = 10105; // No buffer space available
- EISCONN = 10106; // Transport endpoint is already connected
- ENOTCONN = 10107; // Transport endpoint is not connected
- ESHUTDOWN = 10108; // Cannot send after transport endpoint shutdown
- ETOOMANYREFS = 10109; // Too many references: cannot splice
- ETIMEDOUT = 10110; // Connection timed out
- ECONNREFUSED = 10111; // Connection refused
- EHOSTDOWN = 10112; // Host is down
- EHOSTUNREACH = 10113; // No route to host
- EALREADY = 10114; // Operation already in progress
- EINPROGRESS = 10115; // Operation now in progress
- ESTALE = 10116; // Stale NFS file handle
- EUCLEAN = 10117; // Structure needs cleaning
- ENOTNAM = 10118; // Not a XENIX named type file
- ENAVAIL = 10119; // No XENIX semaphores available
- EISNAM = 10120; // Is a named type file
- EREMOTEIO = 10121; // Remote I/O error
- EDQUOT = 10122; // Quota exceeded
- ENOMEDIUM = 10123; // No medium found
- EMEDIUMTYPE = 10124; // Wrong medium type
- ECANCELED = 10125; // Operation Canceled
- ENOKEY = 10126; // Required key not available
- EKEYEXPIRED = 10127; // Key has expired
- EKEYREVOKED = 10128; // Key has been revoked
- EKEYREJECTED = 10129; // Key was rejected by service
+ SYS_EBFONT = 10059; // Bad font file format
+ SYS_ENOSTR = 10060; // Device not a stream
+ SYS_ENODATA = 10061; // No data available
+ SYS_ETIME = 10062; // Timer expired
+ SYS_ENOSR = 10063; // Out of streams resources
+ SYS_ENONET = 10064; // Machine is not on the network
+ SYS_ENOPKG = 10065; // Package not installed
+ SYS_EREMOTE = 10066; // Object is remote
+ SYS_ENOLINK = 10067; // Link has been severed
+ SYS_EADV = 10068; // Advertise error
+ SYS_ESRMNT = 10069; // Srmount error
+ SYS_ECOMM = 10070; // Communication error on send
+ SYS_EPROTO = 10071; // Protocol error
+ SYS_EMULTIHOP = 10072; // Multihop attempted
+ SYS_EDOTDOT = 10073; // RFS specific error
+ SYS_EBADMSG = 10074; // Not a data message
+ SYS_EOVERFLOW = 10075; // Value too large for defined data type
+ SYS_ENOTUNIQ = 10076; // Name not unique on network
+ SYS_EBADFD = 10077; // File descriptor in bad state
+ SYS_EREMCHG = 10078; // Remote address changed
+ SYS_ELIBACC = 10079; // Can not access a needed shared library
+ SYS_ELIBBAD = 10080; // Accessing a corrupted shared library
+ SYS_ELIBSCN = 10081; // .lib section in a.out corrupted
+ SYS_ELIBMAX = 10082; // Attempting to link in too many shared libraries
+ SYS_ELIBEXEC = 10083; // Cannot exec a shared library directly
+ SYS_EILSEQ = 10084; // Illegal byte sequence
+ SYS_ERESTART = 10085; // Interrupted system call should be restarted
+ SYS_ESTRPIPE = 10086; // Streams pipe error
+ SYS_EUSERS = 10087; // Too many users
+ SYS_ENOTSOCK = 10088; // Socket operation on non-socket
+ SYS_EDESTADDRREQ = 10089; // Destination address required
+ SYS_EMSGSIZE = 10090; // Message too long
+ SYS_EPROTOTYPE = 10091; // Protocol wrong type for socket
+ SYS_ENOPROTOOPT = 10092; // Protocol not available
+ SYS_EPROTONOSUPPORT = 10093; // Protocol not supported
+ SYS_ESOCKTNOSUPPORT = 10094; // Socket type not supported
+ SYS_EOPNOTSUPP = 10095; // Operation not supported on transport endpoint
+ SYS_EPFNOSUPPORT = 10096; // Protocol family not supported
+ SYS_EAFNOSUPPORT = 10097; // Address family not supported by protocol
+ SYS_EADDRINUSE = 10098; // Address already in use
+ SYS_EADDRNOTAVAIL = 10099; // Cannot assign requested address
+ SYS_ENETDOWN = 10100; // Network is down
+ SYS_ENETUNREACH = 10101; // Network is unreachable
+ SYS_ENETRESET = 10102; // Network dropped connection because of reset
+ SYS_ECONNABORTED = 10103; // Software caused connection abort
+ SYS_ECONNRESET = 10104; // Connection reset by peer
+ SYS_ENOBUFS = 10105; // No buffer space available
+ SYS_EISCONN = 10106; // Transport endpoint is already connected
+ SYS_ENOTCONN = 10107; // Transport endpoint is not connected
+ SYS_ESHUTDOWN = 10108; // Cannot send after transport endpoint shutdown
+ SYS_ETOOMANYREFS = 10109; // Too many references: cannot splice
+ SYS_ETIMEDOUT = 10110; // Connection timed out
+ SYS_ECONNREFUSED = 10111; // Connection refused
+ SYS_EHOSTDOWN = 10112; // Host is down
+ SYS_EHOSTUNREACH = 10113; // No route to host
+ SYS_EALREADY = 10114; // Operation already in progress
+ SYS_EINPROGRESS = 10115; // Operation now in progress
+ SYS_ESTALE = 10116; // Stale NFS file handle
+ SYS_EUCLEAN = 10117; // Structure needs cleaning
+ SYS_ENOTNAM = 10118; // Not a XENIX named type file
+ SYS_ENAVAIL = 10119; // No XENIX semaphores available
+ SYS_EISNAM = 10120; // Is a named type file
+ SYS_EREMOTEIO = 10121; // Remote I/O error
+ SYS_EDQUOT = 10122; // Quota exceeded
+ SYS_ENOMEDIUM = 10123; // No medium found
+ SYS_EMEDIUMTYPE = 10124; // Wrong medium type
+ SYS_ECANCELED = 10125; // Operation Canceled
+ SYS_ENOKEY = 10126; // Required key not available
+ SYS_EKEYEXPIRED = 10127; // Key has expired
+ SYS_EKEYREVOKED = 10128; // Key has been revoked
+ SYS_EKEYREJECTED = 10129; // Key was rejected by service
// for robust mutexes
- EOWNERDEAD = 10130; // Owner died
- ENOTRECOVERABLE = 10131; // State not recoverable
+ SYS_EOWNERDEAD = 10130; // Owner died
+ SYS_ENOTRECOVERABLE = 10131; // State not recoverable
}
message SerializedException {