Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3448

Add some more hints of the problem when datanode and namenode don't match

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18.0
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      When there is a mismatch between name and data mode, and you are running with -ea set, then Datanode.handshake() bails out with an assertion "Data-node and name-node layout versions must be the same.";

      However, this message doesnt actually say which version numbers are at fault. A better error message would include the version information, so pointing the finger of blame would be easier.

      Attachments

        1. hadoop-3448.patch
          0.6 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified