[ https://issues.apache.org/jira/browse/KUDU-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414874#comment-16414874 ]
Grant Henke commented on KUDU-2375: ----------------------------------- [~tlipcon] The error message is coming from 1.6.0 when trying to read metadata from 1.7.0. I don't think their is a great way to change the behavior/messages for the old versions. I could create a patch to improve the message or handling for future versions so that changes similar to the decimal change have more clear messages on downgrade. Note: If you don't create decimal tables or you delete them before downgrade there should be no issues. > Can't parse message of type "kudu.master.SysTablesEntryPB" because it is > missing required fields: schema.columns[5].type > ------------------------------------------------------------------------------------------------------------------------ > > Key: KUDU-2375 > URL: https://issues.apache.org/jira/browse/KUDU-2375 > Project: Kudu > Issue Type: Bug > Components: master > Affects Versions: 1.7.0 > Reporter: Michael Brown > Priority: Major > > When tables with decimals are added in 1.7.0, a downgrade from 1.7.0 to 1.6 > results in a dcheck when 1.6 starts and Kudu isn't usable in its downgraded > version. > {noformat} > F0324 17:45:10.681808 105716 catalog_manager.cc:935] Loading table and tablet > metadata into memory failed: Corruption: Failed while visiting tables in sys > catalog: unable to parse metadata field for row > 467d365fffbe4485a3249079c48f42a9: Error parsing msg: Can't parse message of > type "kudu.master.SysTablesEntryPB" because it is missing required fields: > schema.columns[5].type > {noformat} > {noformat} > #0 0x0000003355e32625 in raise () from /lib64/libc.so.6 > #1 0x0000003355e33e05 in abort () from /lib64/libc.so.6 > #2 0x0000000001cea129 in ?? () > #3 0x00000000009268cd in google::LogMessage::Fail() () > #4 0x000000000092878d in google::LogMessage::SendToLog() () > #5 0x0000000000926409 in google::LogMessage::Flush() () > #6 0x000000000092922f in google::LogMessageFatal::~LogMessageFatal() () > #7 0x00000000008f05de in ?? () > #8 0x00000000008f6039 in > kudu::master::CatalogManager::PrepareForLeadershipTask() () > #9 0x0000000001d297d7 in kudu::ThreadPool::DispatchThread() () > #10 0x0000000001d20151 in kudu::Thread::SuperviseThread(void*) () > #11 0x0000003356207aa1 in start_thread () from /lib64/libpthread.so.0 > #12 0x0000003355ee893d in clone () from /lib64/libc.so.6 > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)