GlenGeng opened a new pull request #1824:
URL: https://github.com/apache/ozone/pull/1824


   ## What changes were proposed in this pull request?
   
   Tencent monthly deploy the latest master to our production environment.
   During latest upgrade test, we found that new Ozone(version at Jan 14 2021) 
can not read the data written by old Ozone(version at Dec 14 2020).
   We found following traces
   
   ```
   2021-01-20 16:36:39,575 INFO 
org.apache.hadoop.ozone.container.common.volume.MutableVolumeSet: Added Volume 
: /data4/hdds/hdds to VolumeSet
   2021-01-20 16:36:39,582 INFO 
org.apache.hadoop.ozone.container.common.volume.ThrottledAsyncChecker: 
Scheduling a check for /data4/hdds/hdds
   2021-01-20 16:36:39,594 INFO 
org.apache.hadoop.ozone.container.common.volume.HddsVolumeChecker: Scheduled 
health check for volume /data4/hdds/hdds
   2021-01-20 16:36:39,595 INFO 
org.apache.hadoop.ozone.container.common.volume.ThrottledAsyncChecker: 
Scheduling a check for /data1/hdds/hdds
   2021-01-20 16:36:39,595 INFO 
org.apache.hadoop.ozone.container.common.volume.HddsVolumeChecker: Scheduled 
health check for volume /data1/hdds/hdds
   2021-01-20 16:36:39,595 INFO 
org.apache.hadoop.ozone.container.common.volume.ThrottledAsyncChecker: 
Scheduling a check for /data2/hdds/hdds
   2021-01-20 16:36:39,596 INFO 
org.apache.hadoop.ozone.container.common.volume.HddsVolumeChecker: Scheduled 
health check for volume /data2/hdds/hdds
   2021-01-20 16:36:39,596 INFO 
org.apache.hadoop.ozone.container.common.volume.ThrottledAsyncChecker: 
Scheduling a check for /data3/hdds/hdds
   2021-01-20 16:36:39,596 INFO 
org.apache.hadoop.ozone.container.common.volume.HddsVolumeChecker: Scheduled 
health check for volume /data3/hdds/hdds
   2021-01-20 16:36:39,793 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,794 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,794 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,797 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,916 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,916 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,916 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:39,927 INFO org.apache.hadoop.hdds.utils.db.RDBStore: Found 
the following extra column families in existing DB : [block_data, 
deleted_blocks]
   2021-01-20 16:36:40,001 WARN 
org.apache.hadoop.ozone.container.keyvalue.helpers.KeyValueContainerUtil: 
Attempt to get an uncached RocksDB handle failed and an instance was retrieved 
from the cache. This should only happen in tests
   2021-01-20 16:36:40,006 WARN 
org.apache.hadoop.ozone.container.keyvalue.helpers.KeyValueContainerUtil: 
Attempt to get an uncached RocksDB handle failed and an instance was retrieved 
from the cache. This should only happen in tests
   2021-01-20 16:36:40,013 WARN 
org.apache.hadoop.ozone.container.keyvalue.helpers.KeyValueContainerUtil: 
Attempt to get an uncached RocksDB handle failed and an instance was retrieved 
from the cache. This should only happen in tests
   2021-01-20 16:36:40,018 WARN 
org.apache.hadoop.ozone.container.keyvalue.helpers.KeyValueContainerUtil: 
Attempt to get an uncached RocksDB handle failed and an instance was retrieved 
from the cache. This should only happen in tests
   ```
   
   The name changing of the datanode column families done in HDDS-4369 is 
actually not backward compatible.
   
   This PR aims to revert the name from deletedBlocks, deleteTxns, blockData to 
block_data, deleted_blocks, delete_txns.
   
   ## What is the link to the Apache JIRA
   
   (Please create an issue in ASF JIRA before opening a pull request,
   and you need to set the title of the pull request which starts with
   the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
   
   Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, 
remove this)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to