Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What is the purpose of running a block report prior to HDP upgrade?

avatar
New Member

The upgrade instructions call for running a block report to be used later in the process but the docs never mention it again. Why do we run a block report? I know I have no corrupt blocks.

1 ACCEPTED SOLUTION

avatar
Guru

Hi @Geoff Holmes

The block report portion of the pre-upgrade steps is, as you've suspected, to help administrations identify/locate/handle corrupt blocks prior to ugprading and also to validate any namespace issues. For manual upgrades, there is a step in the docs to manually compare the before and after block reports to identify any issues. I'm not sure whether Ambari based upgrades do the same check behind the scenes. It is not a step I would skip though

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-upgrade/content/verify-hdfs...

View solution in original post

2 REPLIES 2

avatar
Guru

Hi @Geoff Holmes

The block report portion of the pre-upgrade steps is, as you've suspected, to help administrations identify/locate/handle corrupt blocks prior to ugprading and also to validate any namespace issues. For manual upgrades, there is a step in the docs to manually compare the before and after block reports to identify any issues. I'm not sure whether Ambari based upgrades do the same check behind the scenes. It is not a step I would skip though

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-upgrade/content/verify-hdfs...

avatar
New Member

Thanks. I hadn't seen the command line upgrade instructions. I agree it's a good idea. In our case, it took nearly 4 hours to get the block report, so I wanted to make sure there was some value in having it.